Results 1 to 8 of 8
  1. #1
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85

    Alternate row color for Group

    I am kind of new to access reports - I have created several with alternating row colors with no problem
    Now I have added a group to the report detail - I am trying to have the same type of alternating row colors with in the group - I can not get this to work

    I would also like to break after each code category also. See example below - I hope that it makes sense

    Category - 06
    06-C0071 Alternate Row Color
    06-C0072 Background Color
    Background Color
    06-D0122 Alternate Row Color
    Background Color

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    http://www.datapigtechnologies.com/f...minreport.html

    Just do your running sum in the example OVER GROUP not OVER ALL

  3. #3
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85
    I am working with the example - not working correctly and I see the numbers for the linenumber
    If I say over group - it colors everything

    Click image for larger version. 

Name:	Screen.jpg 
Views:	12 
Size:	135.9 KB 
ID:	10915
    Last edited by Rhubie; 01-28-2013 at 09:58 AM. Reason: adding screen shot

  4. #4
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85
    i did get the colored lines to show if I use the Over All - but still have problem with the line number showing

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    a couple of things
    set the BACK STYLE of your data fields to TRANSPARENT
    make your LINENUMBER field a separate field and set the VISIBLE property to FALSE
    Then do the conditional formatting on a different text box

  6. #6
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85
    I did change all of the data fields to Transparent - I did get the row colors - but when I change the visible to False and the conditional formating on another text box (I did not have a text box in the detail section - so I added it to the category text box) I only got the colored row on the category text box.

  7. #7
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    I don't think you're following

    have a text box with =1 as the control source, set the RUNNING SUM field to OVER ALL, set the visible property of this field to FALSE

    Don't do any conditional formatting in that field

    Create a second text box with nothing as the control source, set the condtional formatting of that field to ([LineNumber] mod 2) and set the appropriate background color, set the visible property of this box to TRUE

  8. #8
    Rhubie is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    85
    Got it - thank you

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

Similar Threads

  1. Turn off alternate row color
    By dombrowb in forum Access
    Replies: 3
    Last Post: 05-06-2015, 08:37 AM
  2. Alternate Back Color Property
    By RayMilhon in forum Reports
    Replies: 5
    Last Post: 11-15-2012, 06:20 PM
  3. Alternate Row Color
    By mdaneman in forum Access
    Replies: 1
    Last Post: 06-21-2012, 12:39 AM
  4. Alternate Back Color not working properly
    By kolarbr in forum Access
    Replies: 7
    Last Post: 08-30-2011, 10:16 AM
  5. Alternate Row color get rid of
    By gg80 in forum Forms
    Replies: 3
    Last Post: 02-18-2011, 07:43 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