Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sporadic lost data from array elements
Message
De
27/06/2006 16:11:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01130365
Message ID:
01132149
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform