08-24-2013, 04:12 PM
|
#1
|
Newly Registered User
Join Date: Mar 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
|
Labels on both columns of a report
Hi All,
Hope you can help solve this strange one. I have searched the web on this topic and have not found any real useful information.
I have a report, a phone list, which has two columns, see the attached file for a screen shot.
The Employee Name, Mobile Phone and Desk Phone text is in the "Page Header". The Data fields that retrieve from the table are in the "Detail" section. The whole report is 8.89cm wide. The two columns fit perfectly across a portrait A4 sheet.
When I run the report to Print Preview, I get the two columns fine, but the Employee Name, Mobile Phone and Desk Phone text doesn't repeat at the top of the second column. Is there some way of achieving this? I want the part I have circled in RED to appear over the top of the second column as well.
I would have thought there would be a simple check box somehwere that would be something like : "Repeat Page Header on multiple columns", or something as equally useful. Strange that this is so difficult to do, as am sure that this sort of thing is something that lots of people would want to do?
Any ideas?
Last edited by Gramps; 08-24-2013 at 04:25 PM.
Reason: Spelling corrections
|
|
|
08-24-2013, 09:45 PM
|
#2
|
Have been here a while
Join Date: Jun 2012
Location: In the south of Denmark (Jutland), near the German border.
Posts: 7,720
Thanks: 3
Thanked 2,082 Times in 2,037 Posts
|
Re: Labels on both columns of a report
Add a grouping to the report ex. "Employee Name", move "Employee Name, Mobile Phone and Desk Phone" text controls into the added grouping header, set the property "Repeat Section" for the grouping to "Yes".
__________________
If the above post has helped you, why not take the time to say thank you, by pressing the "Thumbs up."
|
|
|
08-24-2013, 09:55 PM
|
#3
|
Newly Registered User
Join Date: Mar 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
|
Re: Labels on both columns of a report
Thanks for the reply JHB.
While I was waiting for someone to reply, I had a play with that exact scenario. The attached screen shot shows the result. It repeats the Group Header for EACH entry. Is there another option somewhere that I have to set to make it only do it at the top of the page and at the beginning of a new column?
|
|
|
08-24-2013, 10:14 PM
|
#4
|
Newly Registered User
Join Date: Jan 2011
Location: Romania
Posts: 2,373
Thanks: 90
Thanked 368 Times in 363 Posts
|
Re: Labels on both columns of a report
Quote:
Originally Posted by JHB
Add a grouping to the report ex. "Employee Name", move"Employee Name, Mobile Phone and Desk Phone" text controls into the added grouping header, set the property "Repeat Section" for the grouping to "Yes".
|
If you will follow JHB's advice all should be OK.
__________________
Mihail
I'm looking for a job !
Very good technical skills on Metal Sheets:
Design (SolidWorks), Programming/Operating machines (Cutting, Bending, Punching)
Mazatrol for turning machines
|
|
|
08-24-2013, 10:28 PM
|
#5
|
Have been here a while
Join Date: Jun 2012
Location: In the south of Denmark (Jutland), near the German border.
Posts: 7,720
Thanks: 3
Thanked 2,082 Times in 2,037 Posts
|
Re: Labels on both columns of a report
Try as I suggested in post no. 2, the result would be as shown in the attached picture.
__________________
If the above post has helped you, why not take the time to say thank you, by pressing the "Thumbs up."
|
|
|
08-24-2013, 11:08 PM
|
#6
|
Newly Registered User
Join Date: Mar 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
|
Re: Labels on both columns of a report
Hi All,
Still no luck!
I have attached a database that has the report and the table with some dummy data in it.
What have I done wrong? It still repeats the Group Header for each entry...
|
|
|
08-25-2013, 03:59 AM
|
#7
|
Newly Registered User
Join Date: Jan 2011
Location: Romania
Posts: 2,373
Thanks: 90
Thanked 368 Times in 363 Posts
|
Re: Labels on both columns of a report
I can't understand why your report don't work.
A single word bring up in my mind: "corrupted".
So, I've designated other report (I've used copy-paste for the controls that already you have) then I set the row source. And all seems to be OK (see attached).
__________________
Mihail
I'm looking for a job !
Very good technical skills on Metal Sheets:
Design (SolidWorks), Programming/Operating machines (Cutting, Bending, Punching)
Mazatrol for turning machines
|
|
|
08-25-2013, 09:45 PM
|
#8
|
Have been here a while
Join Date: Jun 2012
Location: In the south of Denmark (Jutland), near the German border.
Posts: 7,720
Thanks: 3
Thanked 2,082 Times in 2,037 Posts
|
Re: Labels on both columns of a report
Quote:
Originally Posted by Gramps
Hi All,
Still no luck!
I have attached a database that has the report and the table with some dummy data in it.
What have I done wrong? It still repeats the Group Header for each entry...
|
Yes I see, you've to add a dummy value, like I've done in the attached database, open report "tblPhoneList1".
__________________
If the above post has helped you, why not take the time to say thank you, by pressing the "Thumbs up."
|
|
|
The Following User Says Thank You to JHB For This Useful Post:
|
|
08-25-2013, 11:30 PM
|
#9
|
Newly Registered User
Join Date: Mar 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
|
Re: Labels on both columns of a report
Hi JHB,
Thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou, thankyou!
You little ripper!
Your solution is so elegant, it almost made me cry!
I sort of worked out something similar, but I have since put your solution into the database instead because it beats my idea hands down!
I worked out that the reason why I was getting the labels repeating for each entry was because I needed a way for Access to see all the table records as a group. Since none of the items in the table shared any group characteristics, I needed to invent one. I decided to create a new field in the table, called it ReportGroup, put the value "Grp" into each record and set the field to Automatically populate with the value Grp when a new record was created. Then I was able to do a group on ReportGrp, which worked, but your way is MUCH MUCH better.
I have learned so much from everyone on this site by reading all the forums and I doubt I would have been able to create what I have so far without you all.
Thanks again!
|
|
|
08-26-2013, 01:44 AM
|
#10
|
Have been here a while
Join Date: Jun 2012
Location: In the south of Denmark (Jutland), near the German border.
Posts: 7,720
Thanks: 3
Thanked 2,082 Times in 2,037 Posts
|
Re: Labels on both columns of a report
You're welcome, good it succeed at last. 
Luck with your project.
__________________
If the above post has helped you, why not take the time to say thank you, by pressing the "Thumbs up."
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
All times are GMT -8. The time now is 07:21 AM.
|
|