Hi all,
I'm in Windows XP, Access 2007.
I need to create either a tabular subform or a list box that, from a query, returns a list of records showing amounts of money sorted in descending order. The top 25% of should have a background color or red; the next 25% should have a background color of yellow; the next 25% should have a background color of light blue; and the last 25% should have a background color of white.
I understand most of what I need to know to do this, but I don't know how to change the color of rows in a subform or list box, based on percentiles.
Has anyone seen any code like this?
-Thanks,
Adam
I'm in Windows XP, Access 2007.
I need to create either a tabular subform or a list box that, from a query, returns a list of records showing amounts of money sorted in descending order. The top 25% of should have a background color or red; the next 25% should have a background color of yellow; the next 25% should have a background color of light blue; and the last 25% should have a background color of white.
I understand most of what I need to know to do this, but I don't know how to change the color of rows in a subform or list box, based on percentiles.
Has anyone seen any code like this?
-Thanks,
Adam
Comment