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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple question on making control visible

Status
Not open for further replies.

ddean68

Programmer
Sep 6, 2003
26
0
0
US
Short easy version -

I have 2 fields that I need to compare values in - I need some text to be displayed ONLY if the two values match.

Thanks for the help in advance
 
Hi

Define TextBox on the form set its recordsource to =IIF(Val1=Val2,"Values Match","") - wher val1, val2 are the names of your other two controls

set (text box) border style to tranparent, background style to transparent, althought box will be visible when values do not match, it will not show up since it will be same background as form, when values are equal text will show

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top