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!

Opening a DB command line problem

Status
Not open for further replies.

newfrontiers

Programmer
Oct 17, 2001
134
US
Hello, I have just split a database and part of the login routine requires the db to close and open again. The following line is used to accomplish this:

MSAccess.exe C:\Documents and Settings\Kathy\My Documents\master_fe.mdb /cmd jpoppe

On one computer the database opens fine, but on others I am receiving an unrecognized command error. All computers are using Access 2003.

Can anyone direct me as to why this occurs?

Thanks,

John

 
Hallo,

Do you know which part of the command line is unrecognised?
Is it MSAccess.exe, C:\Documents and Settings\Kathy\My Documents\master_fe.mdb or jpoppe?

Is C:\Documents and Settings\Kathy\My Documents\master_fe.mdb on both computers hard drives?

Try putting C:\Documents and Settings\Kathy\My Documents\master_fe.mdb in quotes.

Also try setting an explicit path to MSAccess.exe, also in "s

Otherwise it may ba how your software uses the Command$ function.

- Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top