` Printed Icetips Article

Icetips Article



Par2: Variable name for Prop:SQL
2010-11-19 -- Dennis Evans
 
>I want to process a file.
> I use Filename{PROP:SQL}='Select *...
> How can i use variable (loc:filename) for Filename
> (like:
>  loc:filename='Filename'
>  loc:filename{PROP:SQL}='Select *...?)
> thanks to anybody to explain


  you canot use a string, but you can use these two functions with an 
astring

GetFileManager  PROCEDURE(ASTRING Tag),*FileManager,DLL(_ABCDllMode_)
SetFileManager  PROCEDURE(FileManager FM, ASTRING Tag),DLL(_ABCDllMode_)

  or use a file variable

  f   &file

  f &= fileName

 f{prop:sql} = '...'



Printed November 21, 2024, 6:44 am
This article has been viewed/printed 35230 times.