Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1709
Message
De
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:
00184307
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 Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform