Sounds like you may have warning messages turned on?

Before you try to make your connection:

SQLSETPROP(0, "DISPWARNINGS", .F. )

m.nH = SQLSSTRINGCONNECT(...

Fred


On Wed, Oct 5, 2011 at 8:01 AM, Alan Bourke <[email protected]> wrote:

> I'm connecting to SQL Server 2008 from VFP9 SP2 using the SQL Server
> Native Client 10. I'm using SqlStringConnect()
>
> Which all works fine, except when the connection fails for whatever
> reason. When this happens the client throws up a big message box with
> the error details and then a dialog so a connection can be specified
> manually. It seems that if I was using .NET I could create an event
> handler to handle this more tidily. What are my options in VFP?
>
>
>
> --
>  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/cajcbksqzlupzxg5wecidbk_y5lahbe4v0k7mmhpoxaodc6q...@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.

Reply via email to