Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory error?
Message
De
17/03/2009 10:02:56
 
 
À
17/03/2009 07:40:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Application:
Desktop
Divers
Thread ID:
01388612
Message ID:
01388672
Vues:
50
>Hello Friends
>
>I'm new here so I don't know very well how this works and I don't speak English well but I will try to you understand me.
>
>This is my problem. I'm practising with VFP a few years ago but I didn't develope a complete system till this year. I bought VFP 9.0 to have the last and better version and I expose a couple of systems to see what happens.
>
>I must recognized everything seems to go fine until yesterday. A client told me she had an error in a query option. The query option is programmed by me (not VFP Query) and when you pres ENTER on a field that has client's name displays all the data of that client.
>
>You may do that many times (enter and enter and enter) but suddenly a strange error occurs. Files than should be opend are not, tag index that should be active are not, and as strawberry of dessert the object (environnement) I created to manage original path (as one of its prestation) dissapeared. I arrange my code to clear unnecesary file variables and I thought I had found the solution but it happened again. I suspect it may be a memory problem but I'd like any of you give me an opinion.
>
>Thank you
>
> Héctor

If both tables and variables are disappearing, there maybe a CLEAR ALL somewhere in the code, like a ERROR event. Also, if you are using a Private Datasession, and the form calls UDF function, then while in the UDF and data session is out of scope. You will be in the Public Session (0) until the UDF returns. This is also true (I think) when a procedure is called from a ON ERROR event. Choose a variable or table and set a bkeakpoint in the Debugger Watch window and run the application. You see when they disappear and why.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform