subform

M

Maggie

How do I change the ForeColor of a field in a subform it
the data meets certain critera. For example: my user
wants the StartDate field color to change to yellow if the
StartDate is < Date().
When the main form is opened, do the events in the subform
then execute. Where would I put this code?
Thanks, Maggie
 
A

Allen Browne

1. Open the subform in design view.

2. Select the StartDate text box.

3. From the Format menu, choose Conditional Format.

4. Set Condition1 to:
Expression Is [StartDate] < Date()

5. Drop down the bucket icon, and click yellow.
 

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

Top