Results 1 to 7 of 7
  1. #1
    jparker1954 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    85

    Page Headers for Columns

    I'm using Access 2003. I have a report that I've set up with 2 columns. Unfortunately the Page Header won't print the headings for both columns. I looked on the Help screen and it says the information below. I assume this does not apply to the Page Header section? When I try to use a group header, all I can get is a header for every single row in the group. Any suggestions besides - get with the 21st century and upgrade - which is not going to happen? What am I doing wrong?

    Repeat a group header in another column



    • Open the report in Design view (Design view: A view that shows the design of these database objects: tables, queries, forms, reports, and macros. In Design view, you can create new database objects and modify the design of existing objects.).
    • Double-click the section selector (section selector: The box on the left side of a section bar when an object is open in Design view. Use the box to perform section-level operations, such as selecting the section.) of the group header (group header: Used to place information, such as group name or group total, at the beginning of a group of records.) to display the property sheet.
    • Set the RepeatSection property to Yes.

  2. #2
    jparker1954 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    85
    I did finally get it to work by setting the group interval to 500, but if there's another way, feel free to let me know!

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The only way I have been able to get headings to duplicate for each column is to manually create duplicate label controls in the Page Header section and space them across the page as needed.

    However, I do not have any grouping set up for the data. So I created a group based on a simple expression: "Headers" and moved one set of header labels into the group header and deleted all from Page header. Wow - this works! Did not have to set interval. How did you set interval?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    jparker1954 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    85
    Set the interval in the Sorting and Grouping Screen. When you pick a field to sort by, you set the group properties at the bottom of the box. I set Group On:Interval, and Group Interval:500. Worked in my case for the columns I'd set.


    Quote Originally Posted by June7 View Post
    The only way I have been able to get headings to duplicate for each column is to manually create duplicate label controls in the Page Header section and space them across the page as needed.

    However, I do not have any grouping set up for the data. So I created a group based on a simple expression: "Headers" and moved one set of header labels into the group header and deleted all from Page header. Wow - this works! Did not have to set interval. How did you set interval?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Thanks for the tip. The interval property shows only with a number type. Once I added a group in the report, the RecordSource ORDER BY no longer worked and had to add a sort criteria. My sort field is a text type.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    jparker1954 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    85
    I sorted my list based on an ID number for each row.

    Quote Originally Posted by June7 View Post
    Thanks for the tip. The interval property shows only with a number type. Once I added a group in the report, the RecordSource ORDER BY no longer worked and had to add a sort criteria. My sort field is a text type.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    My point is, the interval setting was not available and I didn't need it anyway. My data all fits on 1 page with 2 columns. Maybe I would have an issue if the data spanned multiple pages.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. File I/O - Writing page headers.
    By Robeen in forum Access
    Replies: 13
    Last Post: 05-10-2013, 03:31 PM
  2. Headers that span more than a page
    By herbc0704 in forum Reports
    Replies: 1
    Last Post: 12-30-2011, 06:21 AM
  3. Control Page Headers with VBA?
    By FL_Boy in forum Reports
    Replies: 3
    Last Post: 12-22-2011, 03:49 PM
  4. Sub report page headers
    By rahayes in forum Reports
    Replies: 3
    Last Post: 11-11-2011, 04:21 AM
  5. Too many page headers for one report?
    By Swilliams987 in forum Reports
    Replies: 0
    Last Post: 02-14-2011, 11:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums