Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get rid of ODBC dialog

Status
Not open for further replies.

elsacarlsson

Programmer
Jul 23, 2002
6
SE
The application is opened from a MS Access database. Earlier there were just one way to open it, which worked perfect. But now I need to open it in two different ways, with different startup forms. To do this I use (from Access, with VBA code) the command 'shell' and then send some specified openargs with it. (the database path and an emailaddress)

The problem arrives when I try to open the application from the database. A ODBC dialog (Select data source) appears and the program can't continue.

I don't want this dialog and I havn't told it to open, how do I get rid of it and get the app to work properly?
 
If you try to open a database named "" this happens.
There is an option dbDriverNoPrompt that stops the dialog. Instead you get an error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top