Using autoexec

Rob.Mills

Registered User.
Local time
Today, 04:25
Joined
Aug 29, 2002
Messages
871
Hello,

I have recently been upgraded to XP from 2000 and now one of my dbs is giving me trouble.

I had an autoexec macro setup that would print a report and then close the database. But now when I open the db it gives me a message that one of the components is missing.

The weird thing is that if I open the db by holding shift and then run the macro it runs fine with no issues.

Why would it give me a problem when it first opens?
 
This occur with me when i'm trying to use a object that isn't initialized yet.

Write your macro here, maybe can be that the problem...

Maikon
 
Well all the macro does is an OpenReport command and the next line is Quit.
 
Here I did it and nothing weird happened...

Maybe your Report's using a object not initialized... :confused:
 
You were correct. Something in the query was causing the issue. Thanks.
 

Users who are viewing this thread

Back
Top Bottom