How to disable ODBC auto login display if made connection failed  
Author Message
ckyam





PostPosted: Visual FoxPro General, How to disable ODBC auto login display if made connection failed Top

Thank in advance.
I would like to disable the ODBC auto login when login failed.
I have tied to set the menu->tools->options->remote Data show login to Never. It seems work but only in IDE but cannot work in executable file.

Some experts give me advice please.

Window xp, Visual foxpro 8


Visual FoxPro2  
 
 
miltoncwb





PostPosted: Visual FoxPro General, How to disable ODBC auto login display if made connection failed Top

Try this :

=SQLSETPROP(0, "DispLogin", 3) && do not show odbc login when error


 
 
ckyam





PostPosted: Visual FoxPro General, How to disable ODBC auto login display if made connection failed Top

thank a lot, 多謝