473,666 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2418

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5249
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 calculation (which works beautifully): TotalTime: DateDiff("n",,)/60 Now, I would like the TotalTime field on my report to display the sum as "HH:nn". The calculation seems to work fine, but will be of no use
3
2321
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 through use of a macro: Output To, Report, the name of the Report, Rich Text Format, Output location and file name, and Auto Start - No. The process has worked flawlessly when running the macro on Windows 98 SE under Access 97 SR2b on the host...
5
2300
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 the same goes for Access 2002. My question is, can it be done in Access 2003?? I have searched Microsoft site and could not come up with an answer either way. If the same goes for 2003 then I am open for suggestions. I am currently outputing...
5
1625
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 are just 63 records (report pages) to output....I hit cancel when the counter was in the 10'000 range. Here is my code....any ideas??
3
4897
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 XP Prof. 2002 version). With formatted output I mean the *exactly* output I produce from executing my report (information is gathered from an ODBC database).
2
2468
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 As Boolean, CmdClose_Clicked As Boolean Private Sub CmdClose_Click() On Error GoTo Err_CmdClose_Click 'Check, if there are any messages marked to delete
32
2775
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 the same file ? If not then how much variation is allowed ? Is it just a bit more or less white space here and there or could could there be larger differences ? If the output is not deterministic then is it possible that the output of the...
2
2015
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. &file_scan($orifile); sub file_scan { our $reqfile = $_; open(FILE, $reqfile) or die "Cannot open the file: $!\n";
11
4392
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 report to user email ... This is something like the installation progress display of DotNetNuke or the Oracle's web-based enterprise manager.
10
2132
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 (using ConvertReportToPDF from this site - Stephan Lebans) The formatting - Outlines on some fields - do not appear on subreports
0
8444
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8869
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8551
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.