Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLStringConnect error trapping
Message
From
08/02/2002 21:02:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQLStringConnect error trapping
Miscellaneous
Thread ID:
00617821
Message ID:
00617821
Views:
93
Hi, could someone please help.

How is the following error trapped so that the default foxpro error messages are prevented from displaying.

handle=sqlstringconnect(dsn)
if handle<1
** trap error here if for example the network connection or a web connection is lost
endif

My application requires monitoring of a web connection to a web server. The user needs to be alerted when the connection is lost, but at the moment the foxpro message takes over and locks the whole app up.

Many thanks in advance.

Kind regards,
Mike Mayo
Next
Reply
Map
View

Click here to load this message in the networking platform