Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Connection Test
Message
 
To
03/07/2003 11:35:51
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00806567
Message ID:
00807181
Views:
23
You can test it by executing simple statment like "select 1".
The idea is from EPS software corporation whitepaper "Migrating you VFP application to client/server platform" written by Daniel LeClear . You can find it on http://www.eps-cs.com/white_papers.aspx.
Some other whitepapers are also very good IMHO. My favourite is "Comparing OOP in VFP with OOP in NET" written by Claudio Lassala and Markus Egger.
Many thanks to EPS SC.


>connection is made at start of application. But status of connection needs to be tested before each sqlexec(). App could be running for along time and lose connection. Then SQLexec() could fail. The idea is to test the connection before issuing SQLexex()
>
>Thank You Miles
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform