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

Text box using if statements

Status
Not open for further replies.

vicktown

Technical User
Jul 13, 2004
27
0
0
CA
How do I make a text box have different text based on the value of another variable?
 
of another variable
Depend on how the variable changes.
Simply set the Value property of the TextBox when you know the variable has a value.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
This should be placed on the AfterUpdate event for the text box with "value of another variable"


If Me.YOUR_VARIABLE_TEXTBOX = "your value" Then
Me.YOURTEXTBOX.FontBold
End If




Cheers,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top