Matias Borra
New Member
Hello,
I'm trying to carry out a query (FOR EACH, SELECT or whatever) from a table which name is in another database field.
Pseudo Code:
FOR EACH related_table.table_name NO-LOCK:
DISP related_table.field_to_show.
END.
where related_table.table_name contains the name of the Progress table that I want to query, and related_table.field_to_show contains the Progress field name of the table that I want to query.
Any idea on this?
Thanks in advance.
Matias.
I'm trying to carry out a query (FOR EACH, SELECT or whatever) from a table which name is in another database field.
Pseudo Code:
FOR EACH related_table.table_name NO-LOCK:
DISP related_table.field_to_show.
END.
where related_table.table_name contains the name of the Progress table that I want to query, and related_table.field_to_show contains the Progress field name of the table that I want to query.
Any idea on this?
Thanks in advance.
Matias.