Connecting Tech Pros Worldwide Help | Site Map

List box display with conditional formating

Newbie
 
Join Date: May 2007
Posts: 6
#1: May 9 '07
I have a form in which a selection in a list box pulls a record to be displayed in a subform.

All contacts are categorised as either Active, Inactive, or left company. I was wondering if it is possible to have these contacts ordered in my list box by this status (although not displayed in the list box) and coloured accordingly. (red for inactive, blue for left company, black for active). The list box gets its information from a query based on the prior list boxes that a user has to choose.

Any help would be greatly appreciated.
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,214
#2: May 9 '07

re: List box display with conditional formating


Quote:

Originally Posted by OxfordConsult

I have a form in which a selection in a list box pulls a record to be displayed in a subform.

All contacts are categorised as either Active, Inactive, or left company. I was wondering if it is possible to have these contacts ordered in my list box by this status (although not displayed in the list box) and coloured accordingly. (red for inactive, blue for left company, black for active). The list box gets its information from a query based on the prior list boxes that a user has to choose.

Any help would be greatly appreciated.

  1. You can ORDER BY the [contacts] Field and set its Column Width to 0 to accomplish this part of what you are requesting.
  2. As far as the color part, no can do!
Reply


Similar Microsoft Access / VBA bytes