= SQLSETPROP(0,'DispWarnings',.F.)
= SQLSETPROP(0,'DispLogin',3)
lnConn = SQLSTRINGCONNECT(lcConnStr)
>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
--sb--