
Strange Compile Errors at Run-time
You probably have one of two problems:
First Possible Problem:
You have a missing VBA reference. Open any module in design view (even a
new one will do) and Click the Tools menu, then Click References.
If any reference that is check off says "missing", that's probably your
culprit. It could be something that you need, in which case you need to
reinstall it. Or it could be something you don't need, then just uncheck
it and click OK.
Second Possible Problem:
Corrupt Database, repairing and compacting might work, but you'll probably
need to get a new copy from someplace else.
Quote:
> I have a replicated Access95 database (4 replicas).
> After synchronising, one replica now refuses to run citing a compile
error
> on the startup form. The startup form is a picture which detects
MouseMove
> and clicks to pop up home-made menus over word bitmaps. Any event trigger
> causes the compile error box to appear. It also complains about silly
> things like format() function etc.
> This does not affect any other replica or the design master nor has it
> happened on virtually any PC but has occured on a few.