Looking a little harder at the code you're using, you might have to upgrade
the second machine, or else change your code. (Despite the fact that both
Access 2002 and Access 2003 use the same file format as Access 2000 by
default, the newer versions have functionality in them that didn't exist in
Access 2000, and you'll run into problems in Access 2000 if you're trying to
use that new functionality)
I believe the OpenReport method did change between Access 2000 and Access
2002: I don't believe Access 2000 allows you to specify a WindowMode
(acHidden) like you are. Take a look at the differences between the methods
in Access 2000 and Access 2002:
http://msdn.microsoft.com/library/en-us/off2000/html/acmthactOpenReport.asp
http://msdn.microsoft.com/library/en-us/vbaac10/html/acmthactOpenReport.asp
I'm confused by the errors with the OutputTo method. It's possible Access
2000 doesn't like "HTML(*.html)". (You're probably better off using
acFormatHTML anyhow). Also, according to the Help file, acReport isn't a
valid argument for the OutputTo method: it's supposed to be acOutputReport.
However, I wouldn't have expected compile errors for either of those: I
would have expected runtime errors. As well, Access 2000 only accepts 6
arguments, while Access 2002 accepts 7 (with the last one, encoding, being
optional, so you can simply omit it from your list) However, the error
messages you're showing make it look as though Access 2000 is missing the
continuation character (hence the "Expected Sub, Function or property"
error).
http://msdn.microsoft.com/library/en-us/off2000/html/acmthactOutputTo.asp
http://msdn.microsoft.com/library/en-us/vbaac10/html/acmthactOutputTo.asp
Of course, it's entirely possible that Access still confused from the
OpenReport (since you're using more arguments in it than Access 2000 can
handle), and that's what's causing the compile errors with the OutputTo.
That seems odd code you're running, though. You're trying to open a report
as hidden, then you're trying to output that same report as HTML. Why the
hidden report? AFAIK, the OutputTo is going to open a new copy of the
report, and not use the one that's already open.