Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

How do I print one record per page on access report

I’m trying to develop an Access report based on a query which is related to four tables (tblPurchase, tblPurchaseDetails, tblVendor and tblFCP.  I would like to print one record per page. The report prints ok when there is only one record selected however when multiple records are selected some pages contain multiple records. My question is – how do I print one record per page when multiple records are selected?
Purchase-V1.accdb
0
shieldsco
Asked:
shieldsco
  • 14
  • 9
1 Solution
 
Jeffrey CoachmanCommented:
When posting a sample database, please post the explicit steps to replicate the issue.
(when multiple records are selected)
Selected How?, where?
Which form?
Which report?
What are you considering a "Record"?
...etc


My brute force guess is that you should set the "Force New Page" property of the PDate footer to: After Section



JeffCoachman
0
 
shieldscoAuthor Commented:
wrong answer -- see the attached database for full details
0
 
Jeffrey CoachmanCommented:
Again,...

When posting a sample database, please post the explicit steps to replicate the issue.
(when multiple records are selected)
Selected How?, where?
Which form?
Which report?
What are you considering a "Record"?
...etc

Also post a clear graphical example of the exact output you are expecting.

In any event...
Second brute force guess: Set the "Force New Page" property of the Detail section to: After Section
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
shieldscoAuthor Commented:
wrong answer again - when mutiple  records with the same vendor are selected they are combined on the same page, I have attached the updated database. Step 1 - open the frm1Selection. Step 2- Enter the Beg Date 9/1/2011 -- Enter Ending Date 9/30/2011. Step 3 - Click on the Preview Purchase Card tab.. Notice that record 3 detail consists of 2 records. Hope that helps
Purchase-V1.accdb
0
 
Jeffrey CoachmanCommented:
OK, I'm noticing a trend here...

Can you not blurt out things like "Wrong Answer"... as the first words in your post.
This can be taken as being rude, and unappreciative.

I see that you are a relatively new member here, and you may not be familiar with the rules of etiquette here...
I also see that I helped you with a previous question without incident, so I don't know if this is just your way of communicating.

Remember that the very first thing I asked for was clarification.
Your second post starts off with "Wrong Answers", when you never clarified the question (as I had clearly asked for).
So I could have very well blurted back "Unclear Question"
But, out of respect,  I did not.

Your third post starts off again with a very blunt: "Wong Answer", ...when again, ...you never clarified the question or listed the steps to see the issue.

I am more than willing to assist you, as I did before.
But we need to start off from a position of mutual respect.
Sound fair?


JeffCoachman
0
 
shieldscoAuthor Commented:
ok what is the solution
0
 
shieldscoAuthor Commented:
I think your perception is totally incorrect. It appears to me that you are letting words affect your feelings. This is about finding a solution to a question.  Please do not get offended by my words -- I’m thankful for your help.  Do you have a proposed solution? If you feel like you do not want to help me then that is fine and I will find a  new resource.
0
 
Jeffrey CoachmanCommented:
No problems here, I am working on a solution now...

;-)

Jeff
0
 
shieldscoAuthor Commented:
ok thanks
0
 
shieldscoAuthor Commented:
Modguy - it appears to me take you are really making a big deal out of nothing. I do not have time to get into a word contest with you. I looking for a solution to the question I posed. So in the future please do not send comments that do no pertain a solution. I pay a fee for your service each month so I suggest that you LEAP -- Listen, Empower, Apologize, and have an action plan for unsatisfied customers. As I mentioned in the earlier post if a solution is not forthcoming then I will find another resource. Just let me know. Have a good day.
0
 
Jeffrey CoachmanCommented:
Well, I am still willing to help.


The issue here is that the report is grouped by the day.

This means that one day can have many records form different people.

I'll play around with this first, then report back,  but my guess is that you must group the report by Person first, then by the date.

JeffCoachman
0
 
shieldscoAuthor Commented:
ok thanks Jeff - I appreciate your effort
0
 
Jeffrey CoachmanCommented:
OK,

A few things are affecting this:
1. Your query for the report is grouped, but the report is also grouped.  I don't see the need to group twice.
2. Your Date criteria is "Due Date", yet the grouping field is PDate.  Is this correct?
3. There is no primary key field in the query, so it is difficulty to figure out what is the master field and what is the Grouping field.
3. You are grouping by PDate, yet the Groping fields have more to do with the vendor, than the date.


So you must first tell me exactly what this report is trying to display

JeffCoachman
0
 
shieldscoAuthor Commented:
I would like a new page for each purchase in the tblPurchase. I would like to see the related detail records from the tblPurchaseDetails and header information from the tblVendor. This information is based on input  from the frmSelection1 form. Hope this helps.
0
 
shieldscoAuthor Commented:
Jeff - I have figured it out with your help. I just needed to group on the purchase ID (PID). Just one slight problem -- when there are more than 7 detail records they are not included. Can you help?
0
 
shieldscoAuthor Commented:
Jeff - clification when more than 7 detail records are in the tblPurchaseDetails only 7 are included in the report
0
 
Jeffrey CoachmanCommented:
There is nothing in the report that is set that would limit the number of records

Perhaps the report's design will only allow for 7 records...
Try shrinking the size of the sections.

I noticed that your sections were bigger than they had to be.
0
 
shieldscoAuthor Commented:
I tried shrinking the size of the sections with no luck -- do you have any other suggestions
0
 
Jeffrey CoachmanCommented:
Post the DB as it stands now
0
 
shieldscoAuthor Commented:
0
 
Jeffrey CoachmanCommented:
The Report is the same as the last sample, so it looks like you did not do anything?

In any event, PID 9 only has 7 records, ...check your query...
0
 
shieldscoAuthor Commented:
I added the Line Number to the query and it works fine. Thanks for the help
0
 
shieldscoAuthor Commented:
Good Job
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 14
  • 9
Tackle projects and never again get stuck behind a technical roadblock.
Join Now