Using autoexec (1 Viewer)

Rob.Mills

Registered User.
Local time
Today, 12:07
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?
 

maikon

Oxxx|:::::::::::>
Local time
Today, 13:07
Joined
Jan 13, 2005
Messages
22
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
 

Rob.Mills

Registered User.
Local time
Today, 12:07
Joined
Aug 29, 2002
Messages
871
Well all the macro does is an OpenReport command and the next line is Quit.
 

maikon

Oxxx|:::::::::::>
Local time
Today, 13:07
Joined
Jan 13, 2005
Messages
22
Here I did it and nothing weird happened...

Maybe your Report's using a object not initialized... :confused:
 

Rob.Mills

Registered User.
Local time
Today, 12:07
Joined
Aug 29, 2002
Messages
871
You were correct. Something in the query was causing the issue. Thanks.
 

Users who are viewing this thread

Top Bottom