Form loading error

N

NetworkTrade

In opening an Access2000 .mdb - - that I brought over to my own desktop using
my flash drive - I am receiving the error message:
An error occured while loading Form_FrmXYZ. Do you want to continue loading
the Project?

This Form (XYZ) is not the switchboard nor is it set to auto open.

So my question is as to what is meant by "loading".

(Just some other info; I am only doing a simple thing of adding a new Form
and don't know the whole application - I was told they import/download alot
of info from their web store daily - - - so my hunch is maybe there is a link
to this exterior web site which maybe is triggering the error message - - but
that is a guess.)

The Form XYZ seems to work fine otherwise.....at least it opens fine....and
I see no procedures in the Form's Event properties.

Since I don't think this error occurs on the owner's machine - it isn't
something I seek to fix per se - - just trying to better understand this idea
of it "loading" and where to look in VBA to see more info....thanx
 
D

Damian S

Hi NTC,

Check the startup properties of the database to see what's being loaded...
also check for the existance of (gag) an Autoexec macro... this will be a
good start...

To bypass all startup stuff, you can hold the shift key down while opening
the database.

Hope this helps.

Damian.
 
N

NetworkTrade

There is a Macro named AutoExec - looking at it in designview just seems to
open Form Main - - nothing to do with XYZ

Looked at Tools/StartUp and nothing seems related to form XYZ...it also
shows Form Main....

New Info; I just noticed that I get the same error message when I close the
mdb also. This time I selected "no" to the prompt and it returned this
message:
The VBA project in the database is corrupt
 
D

Damian S

Ah... sometimes that can happen... Couple of things to try:

1. Compact and repair your database; if that doesn't work
2. Try creating a new (blank) mdb file and importing all the items from
your existing database...

Also, open a code window and click debug->compile. This will stop on code
that has syntactical problems (although I don't think this is the case in
this instance - just for future knowledge).

Damian.
 
N

NetworkTrade

Compress/Repair didn't change anything (had already done this)

Debug immediately returned: Invalid Call Procedure or Argument

Did not scroll thru any code or anything, just immediately popped that
message up. I was at the opening Form - had changed it to DesignView and
then selected Code

Not sure I am going to be able to take the time to import everything into a
new container as I don't really own the application and am just adding a
Form. Also, as originally stated - I don't think the problem exists on
owner's desktop. Still - would welcome advice on resolving the debug....at
least to better understand the situation.
 

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