muheeb
7th August 2003, 17:05
Hello all,
I tried to use "import" after dynamic SQL in 3GL script
to retrieve the value of a given field, and I didn't succeed!
for example:
-------------------------------------------------------------------------
string data(100)
string field
field="tiitm001.item"
sql.parse("select "&field&" from tiitm001")
sql.exec(sql)
sql.fetch(sql)
import(field, data)
-------------------------------------------------------------------------
why I couldn't get in variable "data" the value in "tiitm001.item"
Thanks.
I tried to use "import" after dynamic SQL in 3GL script
to retrieve the value of a given field, and I didn't succeed!
for example:
-------------------------------------------------------------------------
string data(100)
string field
field="tiitm001.item"
sql.parse("select "&field&" from tiitm001")
sql.exec(sql)
sql.fetch(sql)
import(field, data)
-------------------------------------------------------------------------
why I couldn't get in variable "data" the value in "tiitm001.item"
Thanks.