Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 52
Message
De
21/01/2004 06:14:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Error 52
Divers
Thread ID:
00868905
Message ID:
00868905
Vues:
46
Hi!
I've got several random errors in my code displaying the Error 52 "No table is open in the current Work area".
I've got all of they controlled by using a general Try/Catch structure from where I can see that they occurs on the procedure Refresh and line contens "Select X" where X is the name of a cursor that is currently opened (I can see it in the current data session).
I haven't got any line like this in my code (I'm sure!)
If I suspend and go to the debugger I can see that my last line code is some like ThisForm.Refresh.
If I ignore the error sometimes nothing wrong occurs and sometimes one combobox or one grid has his list empty or only painted in white. The implied control is the one which works with that cursor.
It seems like this comes from an internal code of the refresh.

If I put a Set Step On in the code the error doesn't occur. If I change to another machine the error doesn't occur too or occurs in another form and control. Even in the same machine, with doing nothing, the error only occurs randomly! It's very hard to reproduce but it occurs several times when you aren't expecting it.
I've tried to use the log to know what happens, but I can't reproduce it with the log on.

Someone can help me?

Thanks!
Répondre
Fil
Voir

Click here to load this message in the networking platform