Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sporadic lost data from array elements
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01130365
Message ID:
01130388
Views:
18
>I have inherited a very old FoxPro application that uses array elements for editing in the VFP screens. I moved the application from VFP 5 to VFP 9 with minor changes to the code, most of which is in prg files anyway. About a year ago, I added a fairly complicated report. All of the logic for the report, including the SQL statements, report processing and printing, is encapsulated within the private data session of a new form. This new form is called from a command button on the old screen. Sporadically--perhaps one time in 1000--when control is returned from the new process, the values in the arrays are gone and the screen displays empty fields, sometimes causing the application to crash. Any ideas what might be happening? I've run out of ideas....


What command calls your report? Try to add NOCONSOLE clause to it. Also do you use report variables?
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