"OpenCurrentDatabase" Problem

  • Thread starter Anthony via AccessMonster.com
  • Start date

A

Anthony via AccessMonster.com

For some reason Windows generates an error message on only our laptops in our
network.

The error occurs when the following line executes in a function that is
called from the AutoExec Macro:


accApp .OpenCurrentDatabase ("\\a02-ds1\cst\cst_master\cst_admin.mdb")


I put a breakpoint at this line, and attempted to execute it without using
the AutoExec macro, but the error still occurs:
_____
"Microsoft Office Access has encountered a problem and needs to close. We
are sorry for the inconvenience. The information you were working on might
be lost. Microsoft Office Access can try to compact and repair your open
database.

[ ] Repair my open database and restart Microsoft Office Access

Please tell Microsoft about this problem.

We have created an error report that you can send to help us imporve
Microsoft Office Access. We will treat this report as confidential and
anonymous.

What data does this error report cointain?

Why should I report to Microsoft?"
_____

Please help me figure out what we can do to resolve this problem.

Thank you,
Anthony
 
Ad

Advertisements

S

strive4peace

HI Anthony,

Is "\\a02-ds1" your machine? If it is a path on another computer,
assign a drive letter to it in Windows Explorer

Tools, Map Network drive...

and use the mapped drive letter

If "\\a02-ds1" is your computer, use the local path, not the network
path designation

Warm Regards,
Crystal
*
:) have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Ad

Advertisements

A

AnthonyK via AccessMonster.com

Thank you but that's not the problem.

The line of code in question works fine on every other computer in our
netwrok, except our laptops.

It's almost as if the Windows Operating System is in conflict somehow with
the process that is attempting to be generated by the line in question.
That's why it generates a Windows type of error, not an Access Run-Time error.


Please, help.

Anthony
HI Anthony,

Is "\\a02-ds1" your machine? If it is a path on another computer,
assign a drive letter to it in Windows Explorer

Tools, Map Network drive...

and use the mapped drive letter

If "\\a02-ds1" is your computer, use the local path, not the network
path designation

Warm Regards,
Crystal
*
:) have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
For some reason Windows generates an error message on only our laptops in our
network.
[quoted text clipped - 30 lines]
Thank you,
Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top