Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variables Disappearing
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01558475
Message ID:
01558477
Views:
75
>I have a report that is populated using strictly local variables. The report is in a for next loop, and the variables get reset after each iteration. In the first iteration through the loop, the report previews just fine, but then the variables seem to disappear after the second iteration, and so on, and the report will not preview. It's as if the variables are not there anymore.
>
>Is there some setting I am missing?
>
>Best,
>
>James M. Weil

Have you tried defining these variables as private before the loop? I think I did see similar problems before and you can either use private variables or form's properties if the first idea will not work.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform