Hi. I have a form with a subform laid out tabularly (is that a word?) so you can view multiple records in the subform for each record in the main form.
Is it possible to take one of the fields on the subform (a lookup field with three options) and color the text the record is in according to the result of that field? I wasn't planning on having that field visible.
I understand how to do an if statement for it or a select case, but I put my code in the Form_Open event. What it does is just look at the first record and color everything that way.
So how can I get it to give each record a different (specific) color based on this criteria? Any ideas? Is it possible?
This is just a silly little feature I thought would be helpful to the users to see some patterns at a glance. It's not hugely important, but it's this kind of thing that helps me learn. I kinda like learning.
Thanks in advance.
--Sara
Is it possible to take one of the fields on the subform (a lookup field with three options) and color the text the record is in according to the result of that field? I wasn't planning on having that field visible.
I understand how to do an if statement for it or a select case, but I put my code in the Form_Open event. What it does is just look at the first record and color everything that way.
So how can I get it to give each record a different (specific) color based on this criteria? Any ideas? Is it possible?
This is just a silly little feature I thought would be helpful to the users to see some patterns at a glance. It's not hugely important, but it's this kind of thing that helps me learn. I kinda like learning.
Thanks in advance.
--Sara