I believe if you pass in a user id and a password in your connection string - the login dialog will not appear. Here is a sample connection string:
"DSN=Pubs;Description=Sample Publisher Database;SERVER=JVP;UID=sa;PWD=;APP=Microsoft® Visual FoxPro®;WSID=JVP;DATABASE=pubs"
>Hi John,
>
>I want to know the parameter to use in sqlstrconnect() for disabling the login dialog. This dialog allows you to change the database, etc ... . And I don't want my users to have that ability. I know I can use a sqlsetprop("lnConnection","Displogin",3) to prevent it from displaying, but I can't do that until I actualy have my connection, which is too late (catch 22).
>
>I am connecting to a Sql Server database.
>
>Thanks,
>Jeroen
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only