Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No table is open in the current work area
Message
 
 
À
25/06/2015 10:05:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621440
Message ID:
01621450
Vues:
63
>>I am troubleshooting an error 52 - No table is open in the current work order. The user(s) who get this error never report it but my error log file shows it. So I need duplicate and fix this.
>>
>>I suspect that the following line of code in the procedure causes this error:
>
>embolded word suggests that your error handler needs some work ;-)
>
>Recreating the exact conditions for spurious errors to occur can be PITA - I remember from a vfp bug encountered in vfp6 where an alias name recently closed was not always freed in time to be reassigned if the code asks for it a few lines later. Bug is gone in vfp9 (at least does not show up in my apps, where it happened regularly a few times in most months) so your case probably is different.
>
>But the method to track and work around the vfp error might help you as well: wrapping all use / close / select in own functions, adding a log in those functions so you are able to recreate the relevant LOC just before error crops up. Do yourself a favor and tag the version before such changes in your source control software ;-)
>
>In my case those temp wrappers (including temporary fixes found by Aleksey and myself) were in action for a couple of years, as the bug WAS a vfp bug.
>
>HTH
>
>thomas
>

Thank you for all your suggestions!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform