J
Jen
Hello all.
In a qyery I retrieve a value from a form. If this value is 1, 2, 3 or 4
thats what the query should stick with (and does too). But if the value is
5, then the query should retrieve the values 1 and 2. If I write "1 or 2" in
the query criteria then I get these two. If I however try to put them in an
iif() statement like:
IIf([Forms]![startform]![subform_lista_per_tid_status].[Form]![frame_status]
=5;1 Or
2;[Forms]![startform]![subform_lista_per_tid_status].[Form]![frame_status])
then I can't get it to work. Any ideas?
Jen
In a qyery I retrieve a value from a form. If this value is 1, 2, 3 or 4
thats what the query should stick with (and does too). But if the value is
5, then the query should retrieve the values 1 and 2. If I write "1 or 2" in
the query criteria then I get these two. If I however try to put them in an
iif() statement like:
IIf([Forms]![startform]![subform_lista_per_tid_status].[Form]![frame_status]
=5;1 Or
2;[Forms]![startform]![subform_lista_per_tid_status].[Form]![frame_status])
then I can't get it to work. Any ideas?
Jen