Web Connection 5.0
Trap SQL conn problems
03/19/2010
01:00:40 PM
2W40RW1RE Show this entire thread in new window
Gratar Image based on email address
From:
Jerry Tovar
To:
All 
Attachments:
None

I am using the below in my app to query a SQL Server table. Sometimes while running the example below, a dialog will appear with my SQL Server UID and PW in the dialog waiting to someone to press 'Ok'. The app is hung until someone response to the dialog.

What causes the dialog to appear? Is there a way to trap for it? Whats the recommended way of handling this?

o = CREATEOBJECT([wwsql])
ll_isconnected = o.ConnectByDsn('Mydsn', 'myuid', 'mypw')
ln_sqlresult = o.Execute(tc_sql)

Thanks,

Jerry