Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Print multiple records (separated)
Old 04-06-2006, 03:05 PM Print multiple records (separated)
Average Talker

Posts: 19
Trades: 0
Hello all. I would have searched around for this first, but I didn't know how to phrase it, so here it goes.

I have a system (ASP/VBScript & Access) which has multiple employees and their work dates, descriptions,and times, and what I am wanting to do is create/print a report with each of their individual data and summed hours on their own separate page(s). Each employees sheet will have a header with their name, ID, and the dates of the time period, and on the last sheet, it will have the total hours for that employee. Then the same for the next employee until EOF. So far, I am able to sort their times by employee, but it is all run together with only one header.

So, I guess what I am looking for is a how to go about this? Do I need to create some kind of counter or something?

Thanks in advance,

Parallon
parallon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-07-2006, 08:13 PM Re: Print multiple records (separated)
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
This is more of a CSS question.

Basically, you just need to do this for every record after the first:
Code:
<div style="page-break:  before">  (This will create a page break before each div)
 
Header stuff

All your employee stuff
 
</div>
The first one doesn't need it, or you'll get a blank page at the beginning.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Print multiple records (separated)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.49146 seconds with 12 queries