Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1709
Message
From
05/02/1999 08:51:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00183899
Message ID:
00184307
Views:
31
>... 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform