forms

A

Arnie

i have a form called Form1 in it a subform Pairs which i update using command
buttons to open other forms for editing . When i close the editing form the
subform update ok but i have textboxes that may have "Allocated" or " Faulty"
in them if Faulty the box should turn red. the only way i can get the colour
change to occur is by going to the next record and then back.

i have tried requery, repaint but i may have the wrong syntax

can anyone help

Ta
 
M

Marshall Barton

Arnie said:
i have a form called Form1 in it a subform Pairs which i update using command
buttons to open other forms for editing . When i close the editing form the
subform update ok but i have textboxes that may have "Allocated" or " Faulty"
in them if Faulty the box should turn red. the only way i can get the colour
change to occur is by going to the next record and then back.

i have tried requery, repaint but i may have the wrong syntax


How are you setting the color?

I think if you use Conditional Formatting, it should work.
 
Top