Active forum topicsWho's new
Who's onlineThere are currently 0 users and 2 guests online.
|
Error in odbrpt2000.mdb?I can run any of the reports in odbrpt2000.mdb on my desktop. I also have ODB installed on my laptop and when I try to run any reports I get: Becky Snyder |
Hi Becky,I'll need more
Hi Becky,
I'll need more information to help you figure out what's happing on your laptop. Here are some questions:
Does the program stop inside the AttachAll() function?
Is a specific line highlighted?
Can you open odbrpt2000.mdb directly on the computer that has the problem?
If you go to the Visual Basic code window (Alt-F11) and select Tools/References from the menu, does anything show as "Missing"?
What version of MSAccess are you using?
Let's start with these questions and we can continue from here.
Take care,
Steve.
Thanks for your quick
Thanks for your quick response. I was out of town last week.
Here's the sequence of events.
I 'run' the report and get the message:
'The Visual Basic Module contains a syntax error. Check the code, then recompile it'.
I click OK
Message box comes up with:
Macro Name: RunReport
Condition: True
Action Name: RunCode
Arguments: AttachAll()
I can open 2dbrtp200.mdb directly.
It does say that "Microsoft DAO 3.51 Object Library" is missing
I'm using Access 2003 SP2
I hope I'm giving you good info to help track this down. Thanks again!
Becky
Missing Microsoft DAO 3.51 Object library is the problem
Hi Becky,
Sorry it's taken me so long to get back to you on this.
The missing "Microsoft DAO 3.51 Object Library" is probably causing the problem. Do you have "Microsoft DAO 3.6 Object Library" in the references list? Try unselecting the 3.51 version, close the dialog, open again and selecting the 3.6.
Hope that helps.
Steve.