Fill textbox based on another field

dmyoungsal

Registered User.
Local time
Today, 02:12
Joined
May 1, 2016
Messages
112
I have a textbox (HrRate) that defaults to $100.

I want this field to change to $75 if a check box (salesdel) is "T". I am trying to use an Iif statement like "=Iif([salesdel]="T", 75,100), but the showing default value does not change. What am I missing?
 
If it's a checkbox try -1 instead of "t".
 
What.does false equal (for curiosity sake)
 
Access stores true as -1 and false as 0 (for a yes/no field that is).
 

Users who are viewing this thread

Back
Top Bottom