At 23:33 2013-06-04, Mike Copeland <[email protected]> wrote:
[snip]
Is there a way to test an existing sqlstringconnect() connection
handle to see if it's valid, without throwing an error? Or should I
just trap for the 1466 error and deal with it accordingly?
Trap the error.
A point to keep in mind with things like this is that you will
not know that it is broken until you try to do something. It may be
sitting idle and be just fine or the connection might have
broken. Any status flag is only as good as the last check; the
connection might have broken since then.
(This is just general advice. I have not worked with
connections in VFP.)
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.