| | |
|
|
|
output report to HTML without getting multiple files |
| message from Jennifer on 29 May 2004 |
What do I need to set in my report to just get one page
rather than multiple pages (to output to HTML)? I cannot
find any way to set page length to something other than a
regular form and it paginates the report on HTML, giving
me multiple HTML files rather than just one with all of
the info in one HTML file.
|
| Larry Linson replied to Jennifer on 29 May 2004 |
AFAIK, there's no way to use Access Save as HTML the way you want to do.
And, it is sometimes inconvenient.
You can put VBA code in the Print event to write the information from the
controls, along with appropriate HTML markup, to a text file... you will
still be taking some advantage of the formatting of Reporting, but you'll be
doing more work.
You could write VBA code to post-process those individual HTML files into a
single file -- they are, after all, only text files. And, perhaps
surprisingly, I don't think you'd have to know a great deal of HTML to
remove some of the navigation that is included on the generated pages; they
are only hyperlinks, and that would be the only place in a report, normally,
that you'd find the <A ... > tag.
Follow up and let us know what you decided to do... I am interested. I've
faced a similar problem, opted for the first suggestion I made here, but the
requirement for that output faded away so I never actually implemented it.
Larry Linson
Microsoft Access MVP
Visit http://www.microsoft.com, search for "wish list" and leave a
suggestion for different HTML generation options in a future version of
Access.
Larry Linson
Microsoft Access MVP
"Jennifer" <anonymous@discussions.microsoft.com> wrote in message
news:14ebf01c445c5$c02599a0$a301280a@phx.gbl...
|
| Jennifer replied to Larry Linson on 30 May 2004 |
That's what I was afraid of. :( I think I'm going to
write the report as a .rtf file and use MicrosoftWord to
write the .html file. That seems to be the easiest thing
I can currently come up with.
Truly appreciate your help with this. I am amazed at how
well this bulletin board works and always get an answer
to my questions. Thanks
you want to do.
information from the
file... you will
Reporting, but you'll be
individual HTML files into a
And, perhaps
deal of HTML to
generated pages; they
a report, normally,
interested. I've
I made here, but the
actually implemented it.
and leave a
future version of
cannot
than a
giving
|
| david epsom dot com dot au replied to Jennifer on 31 May 2004 |
Access is known to truncate fields when writing to RTF.
We write to a snapshot, and embed the snapshot viewer OCX
into the web page.
(david)
"Jennifer" <anonymous@discussions.microsoft.com> wrote in message
news:154a701c4464f$48fb83a0$a501280a@phx.gbl...
|
|
Archived message: output report to HTML without getting multiple files (Microsoft Access Error Message)