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 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?
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!
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!
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!
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!
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!
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!
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!
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! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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...
|
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...
|
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??
|
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).
| |
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
|
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...
|
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";
|
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.
|
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
|
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...
| |
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...
|
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,...
|
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...
|
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...
|
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();...
|
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...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |