Sorry guys, but sometimes I'm a little too fast for my own good, the old RYFM still applies, and the solution's right there:
=SQLSETPROP(0,"DispLogin",3) will actually turn the thing off, and that's it.
Works too!
Have a good one!
>If a lnHandle=SQLCONNECT("SomeDB") fails, the SQL Server ODBC driver pops up a nice little screen, giving the ability to retry.
>
>Very cute, but in a huge installation with 100+ servers running some VFP-program unattended, this is not very practical, because the program in effect stops, and nobody'll notice it.
>
>I'd like to handle this situation by simply writing the errror info obtained with AERROR() into the event log and gracefully exit the application.
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)