Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent Connection is Busy?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00792932
Message ID:
00792962
Views:
18
Martin,

You mean we can not prevent it to happen but we can trap the connection status so that we have the option to continue the execution or not?

>
>IF SQLGETPROP(nhodbc,"ConnectBusy")
>   =MESSAGEBOX("Connection is busy...")
>   RETURN
>ENDIF
>?SQLEXEC(nhodbc,"SELECT * FROM...")
>*REQUERY()
>*REFRESH()
>
>
>MartinJ
>
>>How to prevent Connection is busy folks? Because from time to time, where CursorAdapter, RemoteView, or SPT, I consistently encounters this problem causing termination of processes.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform