473,394 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Output report to rtf format

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
31 2379

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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Scott | last post by:
I have a query that calculates the Total Time spent working on a project. As an employee can have multiple time entries for a project, the "total Times" are summed in a report using the following...
3
by: Dalan | last post by:
Perhaps someone has experienced this problem. I developed an Access 97 Runtime database on a Windows 98 SE machine. I have three reports that can be optionally copied to a floppy disk or hard drive...
5
by: Mark Elliott | last post by:
Hope I can find an answer here. I am using Access 2000. I know I have no controll over my column spacing in an html document generated by Access 2000 using the "output to" command. I have read that...
5
by: Mal | last post by:
Hi, I have a button on a form that outputs a report to word. While it has been working well for a while, today it is not. The behaviour now is that it endlessly outputs pages to word. There...
3
by: Jorge Cecílio | last post by:
Hi! I would like to export some MS-Access reports output to pdf. However, the only possibility offered by Access (afaik) for me to export formatted output is snp (snapshot) (I use MS-Office...
2
by: Galina | last post by:
Hello All of a sudden I started getting error 13, type mismatch in a command, which was running happily for years. Here is a code: Option Compare Database Option Explicit Dim CmdClose1_Clicked...
32
by: spibou | last post by:
Is the output of the C preprocessor deterministic ? What I mean by that is , given 2 compilers which conform to the same standard, will their preprocessors produce identical output given as input...
2
by: johnperl | last post by:
i am working on the script as below, i want an output according to the format. i am trying to put everything in one loop but cannot figure out the way to do so. could anyone please help me with this....
11
by: gnewsgroup | last post by:
In my web application, I would like to dynamically display the progress of a process, something like: Collecting user input ... Saving user profile ... Generating report in PDF ... Dispatching...
10
by: sara | last post by:
Hi - I have a report that is 14 columnar sub-reports (Line up: Position- holders in each of our 14 locations - Manager, Assistant Manager, Receiving, Office, etc). I output directly to PDF...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.