Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1709
Message
 
À
05/02/1999 08:51:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00183899
Message ID:
00184710
Vues:
32
>>... I ran across this at my current client's location, and came up with this fix. It involves adding code to the Error() method of cDataEnv's cDataEnvironment class. Here is the code for that method:
>>
>> FUNCTION Error(nError, cMethod, nLine)
>> IF nError = 1709
>> * DBC in use error
>> SET MESSAGE TO "DBC in use; please wait..."
>> * Pause for a brief instant before retrying
>> =INKEY(.1)
>> RETRY
>> ELSE
>> ERROR(nError)
>> ENDIF
>>
>> RETURN
>> ENDFUNC
>>
>> What this does is trap the "DBC in use" error and pause briefly before retrying to access whatever information it needs (usually a view definition).
>>
>>José
>
>Thanks for the reply. This is the first thing that I tried (with and without the INKEY), and it is what results in the Pushjmp /Popjmp error.

Erik,

Never heard about the Pushjmp/Popjmp thing. You might want to talk to Ed directly. He does not monitor this forum, but you'll find his email on my web.

I read your other messages and was wondering if you might have something wrong with your DBC. If you have an external utility to rebuild it, that's certainly something that I would try.

José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform