Results 1 to 7 of 7
  1. #1
    progamer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    6

    Question Detail Section Keeps Repeating values

    Hi There,



    I have created a report which has a union query as its record source and the two tables used in union query has no relationship and there can be none. I have used SUM() and Count() functions in many of the text-boxes in my report to extract information from union query. But these text-boxes and everything I designed in report(Detail Section) keeps repeating till 1045 which is the number of records I have in my union query and I don't want this to happen, it should appear only once not more. Can anyone guide me for how to make the information on my report appear only once?

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Maybe put the textboxes with those calcs in the report header or footer.
    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.

  3. #3
    progamer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    6
    I tried that but didn't work the data does not even show up in the textbox instead I get all these pound sing. Any other way?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    The pound sign usually means the number has too many digits for the textbox to display. Make the box wider.

    If you want to attach your db to a post, I will analyze. Follow instructions at bottom of my post.
    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.

  5. #5
    progamer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    6
    I have attached the database and in "Union Report" you can see that it keeps on repeating and If I move it to header or footer then I get "#Error" inside the textboxes.testbase.zip

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    When you said you 'get all these pound sing' I thought you meant there was nothing but # signs but that is not the case. You get a #Error message in the textbox.

    Since you are NOT showing any detail data, just summary info, put all the controls in the Report header section. If you do want detail info (the individual student records that contribute to the summary totals) to show, then need controls in Detail section bound to fields of the report RecordSource.
    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.

  7. #7
    progamer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    6
    Solved! you had mentioned "Report Header" and I had my controls on "Page Header" but reading "Report Header" here, I though that it is "Page Header" but on right click on my report I saw option for Report Header and when I checked it I got my Report Header and Footer and when I moved the controls there, I still had white-space in detail section repeating it-self, only white-space, for which I moved Report Footer up and there was no area for detail section after which the white space stopped repeating and the report summary looks great.

    Thanks June 7!

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

Similar Threads

  1. Columns in Report Detail Section only
    By gg80 in forum Reports
    Replies: 10
    Last Post: 08-03-2014, 07:41 PM
  2. Count in detail section of a report
    By ccordner in forum Reports
    Replies: 9
    Last Post: 02-08-2012, 06:55 AM
  3. The length of detail section of a report
    By blueraincoat in forum Reports
    Replies: 2
    Last Post: 04-06-2011, 12:24 AM
  4. Anchor control to bottom of detail section
    By talley in forum Reports
    Replies: 0
    Last Post: 04-04-2011, 10:29 AM
  5. Replies: 0
    Last Post: 03-28-2011, 05:06 PM

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