Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 11th, 2005, 05:22 AM
biddles biddles is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 biddles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Start each report on an odd page

I have a query which list 500 users each user has 2 or 3 page report.
How do I make each report start on an odd page?
I am running Windows NT with Access 97

I see you did somethin for Access 2000 but couldn't relate this to my 97 report

Reply With Quote
  #2  
Old January 12th, 2005, 07:38 AM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 5
Can you explain a little more by "odd" page. Are your reports being run on two sided sheets so you always want the beginning of each users report to be on the front side of the sheet? And page numbers, are these to be consecutive numbers or do you want each users report to restart with 1?

lwells

Reply With Quote
  #3  
Old January 19th, 2005, 11:19 AM
biddles biddles is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 biddles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Further info

Quote:
Originally Posted by lwells
Can you explain a little more by "odd" page. Are your reports being run on two sided sheets so you always want the beginning of each users report to be on the front side of the sheet? And page numbers, are these to be consecutive numbers or do you want each users report to restart with 1?

lwells
You got it I always want to start on the front of the sheet.
I have managed to get the page nos to be one for the start so I am just missing something easy I hope

Reply With Quote
  #4  
Old January 24th, 2005, 11:10 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 5
I will have to apologize, I didn't see your reply from a few days ago. Okay first things first, Access won't allow a blank page in your reports between records. So what you will have to do is create a recordset of the records or use a query and send each record one by one to the printer. That way each record will always begin on the front side of the paper. Something along these lines might work...I haven't tested so you will need to try it out as I don't have Access 97 on my machine. And you might need to change the syntax slightly for use with Access 97 as well.

This example is using a query named YourQuery for the recordset and UserID as the Primary Key for the records.

Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("SELECT UserID FROM YourQuery")
With rst
Do Until .EOF
DoCmd.OpenReport "YourReport", , , "[UserID]=" & ![UserID]
.MoveNext
Loop
.Close
End With
Set rst = Nothing

Give it a shot and let me know.

lwells

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Start each report on an odd page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT