Printing a single record

L

Leon

I am trying to print a single record from a form to a
report using the follwing command:
DoCmd.OpenReport "dray", acViewPreview, , "[num] = " &
[num]

The record displays but does not actually print. Can
anyone help me figure what I am doing wrong?
 
E

Eric Butts [MSFT]

Hi Leon,

Replace acViewPreview with acViewNormal.


I hope this helps! If you have additional questions on this topic, please
respond back to this posting.


Regards,

Eric Butts
Microsoft Access Support
(e-mail address removed)
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."

This posting is provided "AS IS" with no warranties, and confers no rights

--------------------
| Content-Class: urn:content-classes:message
| From: "Leon" <[email protected]>
| Sender: "Leon" <[email protected]>
| Subject: Printing a single record
| Date: Wed, 14 Jul 2004 13:39:34 -0700
| Lines: 7
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcRp4qv+F2DFIjWcRUCfV45jREOHEg==
| Newsgroups: microsoft.public.access.reports
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.reports:142740
| NNTP-Posting-Host: tk2msftngxa12.phx.gbl 10.40.1.164
| X-Tomcat-NG: microsoft.public.access.reports
|
| I am trying to print a single record from a form to a
| report using the follwing command:
| DoCmd.OpenReport "dray", acViewPreview, , "[num] = " &
| [num]
|
| The record displays but does not actually print. Can
| anyone help me figure what I am doing wrong?
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top