If I set both DISPLOGIN and DISPWARNINGS, I don't have a problem even if the SQL SERVER doesn't really exist.
SQLSETPROP(0, "DISPWARNINGS", .f. ) SQLSETPROP(0, "DISPLOGIN", 3 ) nH = Sqlstringconnect([DRIVER=SQL Server Native Client 10.0;SERVER=DEVSERVERxxx\DEV;Trusted_Connection=Yes;DATABASE=Reporting;]) I just get a -1 returned for nH Fred On Wed, Oct 5, 2011 at 9:11 AM, Alan Bourke <[email protected]> wrote: > Thanks Fred - that has no effect so these mustn't come under the > 'warnings' heading. > > On Wednesday, October 05, 2011 8:47 AM, "Fred Taylor" > <[email protected]> wrote: > > Sounds like you may have warning messages turned on? > > Thanks Fred - that has no effect so these mustn't come under the > 'warnings' heading. > -- > Alan Bourke > alanpbourke (at) fastmail (dot) fm > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAJCBkspyQSwM6BNbUWdrsZT+=Z2D-9PXTqr0JyM=odtgqwr...@mail.gmail.com ** 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.

