Hi Francois,

I don't believe the function GetEnvString is actually installed by Quik Reports for Windows, but by some other product that uses the Crystal Reports engine. Because a file was created in the local \windows\crystal directory, this function appears in the list of available functions in Quik Reports for Windows.

I'm just guessing, but there is a file called uflenv.dll in the C:\windows\crystal directory, which may be related to this. The author of this file is not viewable through 'Properties'.

To make a long story short, because we didn't install this file, we don't know the necessary parameters, if any, required to run this function.

Should you require run-time variables, you can get this if you compile the report as an execuable file, and print the report by running the executable. There is an option to modify the selection formula from a compiled report, which in effect will allow you to enter a new 'paramter' when printing the report.