Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global variables with Reports for testing - how
Message
 
À
30/08/1999 22:27:57
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00259501
Message ID:
00259515
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform