Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Forms

Status
Not open for further replies.

DJ18

MIS
Jan 5, 2003
5
US
I have a form setup in which I am entering measurement data. Is there any way to have the measurement field flash or change color when the measurement is out of specification?
 
You can use conditional formatting to change the colour of the fill, text or the font itself when the data in the field satisfies certain conditions. Simply click on Format in the menu toolbar (In design view), Conditional Formatting and select you conditions and format changes.

J. Ahmed
 
You can also toss some code into the control's "On Exit" event like

If Val(txtMeasure) > 10 then
txtMeasure.ForeColor = 255
End If
A+, N+, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top