Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sporadic lost data from array elements
Message
From
27/06/2006 16:11:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01130365
Message ID:
01132149
Views:
15
>The scatter to array occurs in only one program called when the record is first viewed. It is nowhere near the locations where data often goes missing. I tend to focus on the error after the "new" routine just because I'm a bit sensitive that my code may have broken their ancient app <g>. That isn't the only place data disappears though. I tend to blame the problem on editing in arrays--probably because I never use them. I have never had data go missing from a View for example. Also, any "save" routine I've written only saves modified fields rather than overwriting every field in the table each time the record is viewed! This app doesn't use PEMs. Everything is in a program---somewhere--that is never called directly (as in by name.) The less I have to modify it the better I feel.

Lynda - it just occurred that an array problem definitely calls for a look at SET COMPATIBLE. Make sure it's set to the VFP setting, not the dBase setting. (I think that's OFF, but I make a point never to change it.)

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform