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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database / Multi-user problem

Status
Not open for further replies.

knulisch

Programmer
Oct 10, 2000
18
US
I am having a multi-user database problem with an access my VB6/Access 97.

Via ODBC, I am using a System DSN with a Microsoft Access Driver called "judge".

In my ADODC control on the form, I have the Connection String pointing to the ODBC judge. I have the CursorType set to Openkeyset, and the LockType to Pessimistic.

In the form code I do the following:
Set cn = New ADODB.Connection
cn.Open judgedatabase

When I execute the app form on one PC only everything works fine. However, if I open the app form on a second PC then I get the error "[Microsoft][ODBC Microsoft Access Driver] Cannot open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.

I have tried some other things without any success and I feel like I am missing something simple. Any help would be appreciated.

Thanks.
 
I assume you have the dsn on the second pc?

dsnless connections work well, one thing less to bother about Peter Meachem
peter@accuflight.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top