Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ZAP causing GPF?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00469153
Message ID:
00469164
Vues:
15
>I have this line in my code:
>
>ZAP IN c_modfiles
>
>"c_modfiles" is a cursor created with CREATE CURSOR. It has an index and an order set. No filter.
>
>This line of code has been working fine for weeks. Now, it comes up and tells me that VFP has caused an error and a log is being created. It then shuts down VFP. It's similar enough to the GPF that I'm used to that I'm thinking it's the W2k equivilent.
>
>After having no luck figuring it out, I decided to change it to "DELETE ALL" and worry about it later. I ran the form a few more times with no problems. Then, the line above it started doing the same thing. That line is ZAP IN "c_CopyFiles".
>
>I have 5 of these ZAP lines. All the others work fine (so far).
>
>I've tried rebooting. I made sure the cursor exists and has records. No luck. It has no problem with the DELETE ALL. I haven't tried packing. I did try it with no index, though, and it has the same problem, so it isn't a corrupted index.
>
>Any ideas?
>
>Thanks,
>
Michelle,

SWAG time. What ZAP does is simply write out an empty header file and delete the original table. Since these are cursors and not tables, I'd say that's the source of the problem. Rather than using DELETE ALL, just re-issue the CREATE CURSOR command.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform