>>>Since I'm the DBA, that won't happen, but good suggestion. :-) I'm looking at the VFP help... how does one check the connection to see if it is still valid?
>>
>>In times past, the only way to do it was to send a simple select (like SELECT 1+1) to the server and trap the error if it occurs. I have code for a custom class that handles this on my ancient whitepaper on the EPS site (
http://www.eps-cs.com/pdf/whitepaper_migrating.pdf).
>>
>>I don't recall if VFP 9 has a PEM to do this or not, and unfortunately I don't have it loaded here at the office.
>
>Thanks.
>
>Could I link to that URL from here?
http://fox.wikis.com/wc.dll?Wiki~VFPSQL-TSQL-MappingNo problemo.
Dan LeClair
www.cyberwombat.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.