Results 1 to 6 of 6
  1. #1
    dylan.greene is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2012
    Posts
    3

    Report Layout Organization Help


    I am trying to create a report where I can separate data by tables or sections instead of a giant list. Something like this:

    HEADER

    STREET= A
    STREET= B

    STREET= C STREET= D

    A standard report shows the data from A-Z or however you sort it in a list format.

    If a group of people live on street A, some on B, C and D; I want to separate the 6-7 groups more visibly without just being in a big list.
    I can be by some sort of separate table layout if possible or by making each group a different color font - just some way it is easier to distinguish the difference being on one page.

    If anyone could provide me some help I would greatly appreciate it.

    Dylan

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Don't really understand but here are some things for you to explore.

    Report Grouping & Sorting functionality and VBA code to set backcolor of Group section according to some criteria.

    Conditional Formatting of textboxes
    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
    dylan.greene is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2012
    Posts
    3
    Conditional formatting of textboxes would probably work. The question I have is, how can you create multiple textboxes in a report and have each textbox show a different portion of data? So textbox "1" would show people with the last name of "Alpha". Textbox "2" would show people with the last name of "Beta"...and so on.

    Thanks again so much!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Try a conditional expression in query or textbox ControlSource:

    =IIf(Left(LastName,1)="A",LastName,Null))

    But that would mean empty textboxes for records that don't meet criteria

    Maybe what you want is to create a grouping condition in report based on expression: Left(LastName,1)
    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
    dylan.greene is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2012
    Posts
    3
    I am terrible with code and know really nothing about it.

    So you're saying I type your code: =IIf(Left(LastName,1)="A",LastName,Null)) into the the textbox Control Source area? If I want all people with the last name of "Buck" in the first text box, would it be like: =IIf(Left(FIELD NAME,1)="Buck",FIELD NAME,Null)) ? Not sure which part should be the field name and the person's name.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Back up. That expression in textbox will not put all 'Buck' names in 'first' textbox. It just won't show a name unless it is 'Buck'. You need to group and sort records in alphabetical order. Then can use expressions in textbox as one way to control HOW the data displays, or if it displays at all.

    If you need a better understanding of report grouping & sorting, review http://office.microsoft.com/en-us/ac...010006894.aspx
    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. Sub Report Layout.
    By Robeen in forum Reports
    Replies: 3
    Last Post: 02-22-2012, 04:10 PM
  2. Change of report layout
    By funsofinnih in forum Reports
    Replies: 1
    Last Post: 01-24-2012, 07:18 PM
  3. Auto Organization?
    By ProjectCamaro in forum Database Design
    Replies: 9
    Last Post: 01-18-2012, 07:00 PM
  4. Report organization
    By kstyles in forum Reports
    Replies: 7
    Last Post: 01-10-2011, 02:47 PM
  5. report layout
    By ippy in forum Reports
    Replies: 0
    Last Post: 12-09-2010, 01:23 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