Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global variables with Reports for testing - how
Message
 
To
30/08/1999 22:27:57
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00259501
Message ID:
00259515
Views:
14
>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.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform