Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DoCmd.OutputTo problem with pictures

76 views
Skip to first unread message

Mathieu Lafond

unread,
Apr 16, 2002, 2:48:16 PM4/16/02
to
hi i have some problems with this code

Dim rep As Report
DoCmd.OpenReport "Etat_sms", acViewPreview
Set rep = Application.Reports("etat_sms")
DoCmd.OutputTo acOutputReport, rep.Name,
acFormatRTF, "c:\temp.rtf", false

...

the rft file are corect but the picture i have in my
report are not in the rft... the line are not in the rft...

did you know some solution???
thk
Mathieu

MacDermott

unread,
Apr 16, 2002, 4:20:01 PM4/16/02
to
The RFT format does not support pictures or lines.
Sorry.

Also, unless you WANT to preview the report, there is no need to open it
before executing your OutputTo command.

HTH
- Turtle

"Mathieu Lafond" <MLA...@bourget.qc.ca> wrote in message
news:349801c1e577$453f9bb0$36ef2ecf@tkmsftngxa12...

mathieu Lafond

unread,
Apr 16, 2002, 4:42:08 PM4/16/02
to

thk a lot...

i try in html to and it is the same result...
There is a way to do that???

>.
>

MacDermott

unread,
Apr 16, 2002, 9:23:55 PM4/16/02
to
While pictures and lines can be rendered in HTML, AFAIK the Access wizard
doesn't do this.

You might consider using the Access snapshot viewer.

HTH
= Turtle

"mathieu Lafond" <MLa...@bourget.qc.ca> wrote in message
news:33fd01c1e587$2d7bac70$b1e62ecf@tkmsftngxa04...

Stephen Lebans

unread,
Apr 16, 2002, 10:22:29 PM4/16/02
to
Another solution not requiring the user to have the Snapshot view is
here:
http://www.lebans.com/ReportUtilities.htm
ReportUtilities a suite of utilities with 5 Features:

1) Export to MS Word. Output exact duplicate of a Report to RTF,
including formatting and all graphics. This file can be loaded into MS
Word for limited further editing or inclusion into a larger document.

2) Export to WordPad. Output duplicate of a Report to RTF, including
formatting and all graphics. This file can be loaded into MS WordPad for
viewing and/or Printing.

3) Save Report to Enhanced Metafile format. One EMF file for every Page
of the Report.

4) Save Report to the older Metafile format. One WMF file for every Page
of the Report. This format may be imported by FrontPage as a Clip and
then saved to the Web page as an WMF not a GIF or JPEG! This means about
10KB to 15KB average per Report Page.

5) Print To Fit functionality. Output multiple Report pages per single
output page. 2up, 3up or 4up etc. Printer selection is independent of
the original Report. For instance you could output a Report of Legal
size pages to standard Letter size. Does not require MS Word.


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"MacDermott" <macde...@mindspring.com> wrote in message
news:a9iiqg$39h$1...@nntp9.atl.mindspring.net...

0 new messages