Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Variables
Message
From
13/05/2004 08:01:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Private Variables
Miscellaneous
Thread ID:
00903524
Message ID:
00903524
Views:
54
Hi all, I'm having some problems with private variables. We have a .prg that drives a crystal report that we have. In this .prg, we have many private variables declared, but we are getting weird results with two of them. What happens is, these two variables are used on a form that is called from the .prg that selects which report format the user wants to use to print the report. These two variables, both character, are set with values in this form and are then used in the calling .prg. One is a parameter for a remote view, the other is used to set a crystal reports parameter. Running this one time works fine, but if we try to run through this procedure again, the variable with view parameter fails and we don't get the records that we want on the requery. The values appear no different from the first to the second run. If we shut down the app and start it up again, everything is fine.

Another note, while debugging, after the called form is done, in the command window I simply set these two varibles to what they "appear" to already be, and everything runs fine then.

A little confused here, any help would be greatly appreciated!

Thanks,

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform