RE: Form loading error



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.

--
NTC


"Damian S" wrote:

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.
"NetworkTrade" wrote:

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

--
NTC


"Damian S" wrote:

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.

"NetworkTrade" wrote:

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
--
NTC
.



Relevant Pages

  • Re: "Global functions" bug?
    ... Now, I have another project, ProjectB on a different server. ... The type or namespace name 'Database' could not be found (are you missing ... This error message is usually the winner. ... "using XYZ" at the top? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DBD::Informix 2003.04 AIX4.3.3 SELECTIVE TEST ERRORS
    ... one which you could fix by removing the database). ... The bug report is below. ... > Informix Server Entries in sqlhosts file ... > # Error Message: ...
    (perl.dbi.users)
  • Re: XP crashes, dmp files added.
    ... This page refers to an error message but doesn't say what the error message ... >> Unable to load image ntoskrnl.exe, Win32 error 2 ... >> Loading Kernel Symbols ... >> Use!analyze -v to get detailed debugging information. ...
    (microsoft.public.windowsxp.general)
  • Re: Generating one table with a terabyte of data
    ... I didn't know we could split a database file group over multiple HDs. ... > Run perfmon counters to a log and analyze them after a bulk load. ... Another thing is to split the updates across file sets. ... >> loading of daily data in the fastest time. ...
    (microsoft.public.sqlserver.dts)
  • Re: Module Not Found
    ... Close the database. ... Still in the code window, choose Compile from the Debug menu. ... The error message could be related to something else that is going on, ... VB and press the cancel button I receive the error message ...
    (microsoft.public.access.formscoding)