>Hi
>
>How can i remove all ths system variable in the variable selection of the report generator.
>
>What I'm tring to do is save all the variable, remove it from the list, put my variable in it end when the report closed retore all variable.
>
>In my app the user can create variable and use it in the report gen. when the user try to select a variable he see all the system variable plus the variable he create
>
>
>Any Tips
>
>
Ben,
There is a command button for options. Among the options is to not display system memory variables. This information is stored in the resource file. I imagine you could add a resource file as part of the installation, with the appropriate settings. If the ReadOnly field was set to .T. any changes the user made should be ignored.
The only other solution is to "roll your own". IOW, create your own Expression Builder dialog. This would be automatically invoked by setting the _GETEXPR system memory variable to the name of your form. See help under _GETEXPR for details.
George
Ubi caritas et amor, deus ibi est