Aug 29, 2001 #1 lotfi Programmer Nov 22, 2001 2 TN on topspeed 5.5 d filename{prop:sql}='selec sum record as varname' next(filename) can i use varname in a topspeed program ?
on topspeed 5.5 d filename{prop:sql}='selec sum record as varname' next(filename) can i use varname in a topspeed program ?
Sep 23, 2001 #2 pwkirk Programmer Jul 29, 2001 13 AU In Clarion a variable has to be bound before it can be used in a query. I guess that the same applies here! In an Embed at the start of the procedure after opening files, you could enter the following code: BIND('VarName',VarName) Then you can use the variable in a string expression or query. Finally in an Embed at the end of the procedure after closing files, you could enter the following code: UNBIND('VarName') Upvote 0 Downvote
In Clarion a variable has to be bound before it can be used in a query. I guess that the same applies here! In an Embed at the start of the procedure after opening files, you could enter the following code: BIND('VarName',VarName) Then you can use the variable in a string expression or query. Finally in an Embed at the end of the procedure after closing files, you could enter the following code: UNBIND('VarName')