Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A sure fire way to prevent the odbc driver from popup ?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00517139
Message ID:
00517232
Views:
29
Hey another Ny'er. did it. !!
Thanks. works great. !

One thing for those people wanting to use this. I put the corrected code...
IF SQLGETPROP(0,'DispLogin') <> 3
	= SQLSETPROP(0,'DispLogin',3)  && No login -- error on fail
ENDIF
IF SQLGETPROP(0,'DispWarnings')
	= SQLSETPROP(0,'DispWarnings',.F.)  && No errors
ENDIF
>Try to add folowing code before sqlstrconnect
>
>IF SQLGETPROP(0,'DispLogin') <> 3
>	= (SQLSETPROP(0,'DispLogin',3)  && No login -- error on fail
>ENDIF
>IF SQLGETPROP(0,'DispWarnings')
>	= (SQLSETPROP(0,'DispWarnings',.F.)  && No errors
>ENDIF
>
In the beginning, there was a command prompt, and all was well.
Previous
Reply
Map
View

Click here to load this message in the networking platform