>I need to pass an ID and 2 dates from a form (used to input this information) to be used in a report call... The only way I can figure to get more than one variable from a form is by using a set of global variables.
>
>I realize I can declare the global variables in my "MAIN" application and that will work well when I am running the "built" application. But if I do this... how do I test the application as I am developing the various forms and reports from the Project Manager? These global variables are NOT defined during this stage, correct?
>
>Suggestions?
You can create the variables in the Command Window when you want to test outside the application. However, you don't need global variables. You can declare them Private in the method that issues the REPORT FORM command. They will be available to the report but will go away when the method ends.