How to hide Logon Lorm when open adp database

  • Thread starter Thread starter Saroeurn Long
  • Start date Start date
S

Saroeurn Long

I create Access Data Project Database. I set properties in Data Link to
connect to SQL Server, but I don't want to save password. When I open
database, the Logon form show automically. How can I hide this form. Because
I write code connect to SQL Server.

Thanks,
 
northwindcs.adp has examples of this sort of thing you should look in
there; it has some great code already


-Aaron
 
One possibility would be to close the connection and then open it with a
blank connection string:

application.CurrentProject.CloseConnection
application.CurrentProject.OpenConnection ""

Don't know what will happen if you try to do this with an ADE.
 
Back
Top