By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,098 Members | 1,922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,098 IT Pros & Developers. It's quick & easy.

Output report to rtf format

P: n/a
Hi!

This line wont execute in Windows 2000, even though it worked fine in
Windows XP.

DoCmd.OutputTo acReport, strReportName, acFormatRTF, strRTFName

When debugging all the arguments seem fine. strRTFName has the
location of a directory that exists, strReportName is the name of an
object which indeed exists in the current database. Is there any
reason why this shouldn't work in Win2000?

I'd appreciate any help

Vegard
Nov 13 '05 #1
Share this Question
Share on Google+
31 Replies


P: n/a

Vegard Villmones wrote:
Hi!

This line wont execute in Windows 2000, even though it worked fine in
Windows XP.

DoCmd.OutputTo acReport, strReportName, acFormatRTF, strRTFName

When debugging all the arguments seem fine. strRTFName has the
location of a directory that exists, strReportName is the name of an
object which indeed exists in the current database. Is there any
reason why this shouldn't work in Win2000?

I'd appreciate any help

Vegard


How is it not working? are you getting any error messages?

Nov 13 '05 #2

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #4

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #5

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #6

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #7

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #8

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #9

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #10

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #11

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #12

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #13

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #14

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #15

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #16

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #17

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #18

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #19

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #20

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #21

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #22

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #23

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #24

P: n/a
Is there a problem here. You've replied over 20 times with the same message
over a 5 hour period.

"Vegard Villmones" <vv******@c2i.net> wrote in message
news:42********@127.0.0.1...
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #25

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #26

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #27

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #28

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #29

P: n/a
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.
Is there any way to get more info on why the error occurs? Guess I'm not
a pro :)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #30

P: n/a
Vegard Villmones <vv******@c2i.net> wrote in message news:<42********@127.0.0.1>...
No. When I run the debugger it jumps to the line it's supposed to (on
error goto K) and prints my error message. Now you might think I forgot
an exit sub-statement, but I haven't.


Wow - I have no clue what just happened. I replied using
developersdex, think something must have happened there - I sent them
an e-mail.- I won't rule out that my browser might've gone crazy. Here
I'm in need of help, and end up spamming - nice.
Nov 13 '05 #31

P: n/a
Very sorry Vegard and the rest of the community. We have corrected the
problem and it will not happen again.

Thanks!

Shawn Jackson
Technical Support
http://www.developersdex.com
sh***@developersdex.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #32

This discussion thread is closed

Replies have been disabled for this discussion.