I do not know this area but here are post by Douglas J. Steele that might
apply. I would back up the database first.
Are your References okay? (while in the VB Editor, select Tools |
References from the menu bar. Make sure none of the selected references--the
ones with check marks in front of them at the top of the list--have MISSING:
in front of them)
Try adding another reference at random, backing out of the References
dialog, then going back in and deleting the reference you just added.
If that still doesnt' work, write down all of the references you currently
have selected. Unselect as many as you can (Access won't let you unselect
them all), then back out of the dialog. Go back in and reselect all of the
ones you succeeded in deleting. (Note: They'll be in alphabetic order, not
at the top anymore!)
--
KARL DEWEY
Build a little - Test a little
"Bongard" wrote:
>
> I am running Access 2003. I'll give you some more info to see if this will
> help narrow the problem.
>
> The database is converted from and Access 2000 database.
> Along with the 'Set Warnings' command, the 'OutputTo' command is producing
> the same kind of errors when ran either through a macro or VBA.
> I have a bunch of macros running similar commands in my automation, and for
> some reason it isn't consistent about where it errors out each time.
> If I run the individual macros manually, they never error out.
>
> The VBA references that I have enabled are as follows:
> Visual Basic fort Applications
> Microsoft Access 11.0 Object Library
> OLE Automation
> Microsoft DAO 3.6 Object Library
> Microsoft ActiveX Data Objects 2.5 Library
>
> Thanks a lot
|