toilettenseife
New Member
- Joined
- Oct 2, 2015
- Messages
- 13
Good Afternoon,
I am trying to use the following formula to populate a field in a query:
CHRT_HLPR: IIf(X<=12 And X>=Y,X-(Y-1),X+(12-(Y-1)))
Y is a field in a table and X is a user inputted value from a form.
I tried to use [Forms]![Form_Name]![Text_Box_Name]. However, Access says the function is too complex.
Any ideas?
Thanks!
Tim
I am trying to use the following formula to populate a field in a query:
CHRT_HLPR: IIf(X<=12 And X>=Y,X-(Y-1),X+(12-(Y-1)))
Y is a field in a table and X is a user inputted value from a form.
I tried to use [Forms]![Form_Name]![Text_Box_Name]. However, Access says the function is too complex.
Any ideas?
Thanks!
Tim