run a select whose fields, table are selected from another table

Database
Enthusiast

run a select whose fields, table are selected from another table

Dear All,

Is there a possibility to make the following in TD:

TableA (like DCB.Cols)
T_NAME C_NAME
---------- ----------
Table1 Col1
Table2 Col22
Table3 Col333

Table1 (listed in tableA)
Col0 Col1
----- ------
value1 valueA
Value2 valueB

I need a SEL like:
Select
Col1 (selected from TableA/C_NAME)
From
Table1 (selected from TableA/T_NAME)

thx in advance!
1 REPLY
Enthusiast

Re: run a select whose fields, table are selected from another table

now, days after i got it. SysExecSQL()
thx for your patience...