Traffic signal control

  • Thread starter Thread starter David
  • Start date Start date
D

David

My table has a 'stoplight' column, I call it a traffic
signal. It can have values of Red, Yellow or Green. Its
used in management reports. I set it up as a text field.

On my form I display it with the text and the backcolor
set to the correct color. The user cycles the colors by
clicking on the control via an ON CLICK event.

Here is my problem: when the user clicks the forward and
backward navigation controls, the back color does not
change. What is the correct event to use for this. I tried
ON CHANGE and it did not work.
 
Try putting your code to set/reset colors in the On Current event.
 
There is no 'On Current' event for the text box.
-----Original Message-----
Try putting your code to set/reset colors in the On Current event.
 
David,

IF you're in Access 2000 or later THEN
try Conditional Formatting
ELSE
use OnCurrent Event
END IF


HTH,
Josh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top