Hello,
Is there a way to activate a text field only if the value entered in another field is outside of a certain range?.... for example if field1 is <5 OR >10 THEN activate the other text field....
Thank you in advance for your help!
Hello,
Is there a way to activate a text field only if the value entered in another field is outside of a certain range?.... for example if field1 is <5 OR >10 THEN activate the other text field....
Thank you in advance for your help!
if somefield <5 or somefield >10 then
thattextbox.visible = true
other things to do with thattextbox
else
thattextbox.visible = false
endif
(untested, just a thought)
Perfect! Thanks for the fast response!
Note that you'll typically need that code in the AfterUpdate event of the pertinent Control, (somefield, in the example) as well as in the Form_Current event.
Also note that this will only work for a Single View Form. To do something similar for Continuous View or Datasheet View Forms requires using Conditional Formatting, and CF does not allow form making Controls either Visible or Invisible, only for Enabling/Disabling them.
Linq ;0)>