` 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, 10:52 am
This article has been viewed/printed 35231 times.