Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable Scope
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01178158
Message ID:
01178171
Vues:
17
No problem with variables when you run the report.
But the variables in INIT isn't visible in your methodes when you run the report.


Hi All,
>
>I am experiencing a variable out of scope problem. I create a variable from within th INIT of the report. I want to use this variable within the running report for a "Print When Expression is True" on a label.
>
>The variable is a Boolean value. I am limited to VFP7.
>
>What I find is this:
>
>LOCAL and PRIVATE both end in a "Variable XXXXXX not found." message box with an Ok and Help button.
>
>PUBLIC actually works.
>
>Question: Is anyone aware of another means for giving scope within the report other than using a PUBLIC variable.
>
>
>Thanks in advance,
>Larry
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform