473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Get report data into a web page and print multiple pages

Yesterday I got the bad news that I can't open an instance of Access,
run a report, then close Access over ASP. So, I need to come up with an
alternative so that I can execute printing of "orders" over an ASP
page.

I know how to open the db connection, get the data I want into a table,
and I can present the data on the screen. The problem is that I want to
print out "orders" on individual pieces of paper. I can present the
orders on the screen separated by hr tags. I don't know what kind of
tags or markup to put on the page that will tell the printer that the
next segment of screen data should be printed to a new page.

Can someone tell me how to do that?

Thanks

Apr 12 '06 #1
2 1805
Hate to answer my own question, but I think I've found it here

http://www.htmlgoodies.com/beyond/cs...le.php/3470341

Looks like all I need to do is create the asp page and display my data,
and when I walk the recordset put one of the described page break
commands either before or after each record.

Apr 12 '06 #2
"jbonifacejr" <jb*********@hotmail.com> wrote in
news:11**********************@u72g2000cwu.googlegr oups.com:
Yesterday I got the bad news that I can't open an instance of Access,
run a report, then close Access over ASP. So, I need to come up with an
alternative so that I can execute printing of "orders" over an ASP
page.

I know how to open the db connection, get the data I want into a table,
and I can present the data on the screen. The problem is that I want to
print out "orders" on individual pieces of paper. I can present the
orders on the screen separated by hr tags. I don't know what kind of
tags or markup to put on the page that will tell the printer that the
next segment of screen data should be printed to a new page.

Can someone tell me how to do that?

Thanks


http://msdn.microsoft.com/workshop/a...perties/pagebr
eakbefore.asp
--
Lyle Fairfield
Apr 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jim Fox | last post by:
I have a report that I created that has no data, just boxes, lines and one date field not tied to anything. Basically this report will just print pages according to the dates you entered. Then...
1
by: VBSponge | last post by:
Hi all. In A2K i have a report with a control bound to to calculate the page count for the report. I need to retrieve this page count from the report, and build it into a TOC containing this an...
6
by: Mike Conklin | last post by:
This one really has me going. Probably something silly. I'm using dcount for a report to determine the number of different types of tests proctored in a semester. My report is based on a...
0
by: Aaron Hartley | last post by:
Hi, I created a report in Access. * The report has 4 labels per page. Label here means the report is printed multiple times per page, not the label object type. * Each label uses 75 numbers,...
6
by: noway | last post by:
I have greated a report and have included a page break in it. The report breaks were it is supposed to but then it creates a blank page between the two pages. Since this report will print out...
0
by: ghadley_00 | last post by:
MS Access Create form / report with multiple pages using different background images Hi, Would like to have users fill out a multipage form, and then click a print button, which pulls up the...
1
by: Brad | last post by:
Thanks for taking the time to read my question. I have a table of data that has Date, Data and Category. I need to show, in a report, each Categories Data by Date. The Date has to be it's own...
1
by: Stinky Pete | last post by:
Evening, I have a form that uses 5 pages (it's an electronic copy of the paper version) we are going to use for manufacturing non conformances and product deviations. In case your wondering,...
1
by: Sam | last post by:
Hi All I have a web page that contains a datagrid and in this data grid, I have a checkbox column template which allow user to select one or more applicant's loan applicantion to print....
1
by: adolph | last post by:
I have a problem with pages being printed out of order. An example is a 15 page duplexed report. Title page fine back of title page blank. (As it should be) SEcond page front, bottom says Page 1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.