MS Access 2003 Report to HTML supress natural page breaks

S

Soln

My report has set at "Detail" to force new page after section.

The report exports to HTML ok. BUT the problem is where the detail section
of the report exceeds one page, access produces two HTML files.

What I require is one continious HTML page where it continues over two
printed pages.

How can be this done?
 
L

Larry Linson

Soln said:
My report has set at "Detail" to force new page after section.

The report exports to HTML ok. BUT the problem is where the detail section
of the report exceeds one page, access produces two HTML files.

Yes, that seems to be the way Access Reports work with HTML output. I guess
they figured if you were generating HTML you were likely to view it in a
browser, not print the HTML to hard copy.
What I require is one continious HTML page where it continues over two
printed pages.

How can be this done?

Modify the generated HTML or put your own code in the detail section to
create a text file with HTML markup the way you want it, and don't generate
the report to HTML. I've tried the latter as an experiment, a few versions
ago, and it worked nicely. As I haven't been writing raw HTML much since
then, I'd have to dig out a big, thick book to review to refresh my memory
on what markup to use.

Larry Linson
Microsoft Office Access MVP
 
S

Soln

Thank you Larry.

Would I require to write VBA code in access within a module to generate the
HTML output that would skip the natural page break if the report coverd more
than one page?
 

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