jt643
Technical User
- Jun 17, 2003
- 144
I may be asking for the impossible. I have a subform that displays as a form that mimics a datasheet - in other words, I have the text boxes meeting each other with white background and black text - so it looks like a datasheet.
The three colomns are 'Category', 'Selection', and 'Order'.
What I want to do is to make the Font Color and Background of the three text boxes a certain format - IF the 'Category' = "A Certain Category".
In other words, I want all records that have "Electrical" as the Category to display as Red font and a Grey background.
I have selected all records from the table within my VB that have 'Electrical' as the category, but I am having a problem making the form recognize each record that shows on the form as being unique, and therefore not making them all formatted the same. I can get the font and background to change but it does so for all or none of the records.
I can paste my code if that would help.
Thank you for your time.
The three colomns are 'Category', 'Selection', and 'Order'.
What I want to do is to make the Font Color and Background of the three text boxes a certain format - IF the 'Category' = "A Certain Category".
In other words, I want all records that have "Electrical" as the Category to display as Red font and a Grey background.
I have selected all records from the table within my VB that have 'Electrical' as the category, but I am having a problem making the form recognize each record that shows on the form as being unique, and therefore not making them all formatted the same. I can get the font and background to change but it does so for all or none of the records.
I can paste my code if that would help.
Thank you for your time.