troubleshooting Question

conditional formatting, Access 2010

Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America asked on
Microsoft Access
5 Comments1 Solution480 ViewsLast Modified:
In a subform, there are varying number of records for CustID:

CustID    ContactName       Address      etc.
-------     ----------------      ---------       ------
1                 a
1                 b
2                 h
3                 k
3                 l
3                 m
4                 n

I want to apply alternating shade to the entire row from one CustID to the next. This way, the user can easily locate the information because the subform has many columns and fills the screen lengthwise.

Question1: How can I do this? Is there a built-in feature in the property sheet I can apply the required setting?

I supose, we can have fnRecordShade([CustID]) returing True or false when CustID changes if no other easier solution. If question 1 not possible then how should this function to look like:

Function fnRecordShade(lngCustID) as boolean
' the body of function to return true or false
' when CustID canges

fnRecordShade = True/False

End function

 

Thank you.
ASKER CERTIFIED SOLUTION
Graham Mandeno
Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros