Very strange thing happening...
I'm working in a query and creating a field. This worked fine when there were 3 Iif statements. I added 4 more. The finished field looks like this:
BCRT #: IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order] Is Null,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=60,"$0 Claim",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=70,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=55,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=56,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=57,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=58,"Under $1M",[104_BCRT_Creditor_tbl]![BCRT_Creditor_Num])))))))
When I go to preview the results - it works like it is supposed to. When I go to save my changes, the whole Access Application quits.
Anybody know why this may be happening? I didn't know that there was a limit of IIF statements - if so, it definitely is not 7...
I'm using Access XP in Windows XP - if this makes a difference.
HELP!!
Thanks,
Carie
I'm working in a query and creating a field. This worked fine when there were 3 Iif statements. I added 4 more. The finished field looks like this:
BCRT #: IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order] Is Null,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=60,"$0 Claim",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=70,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=55,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=56,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=57,"Under $1M",IIf([104_BCRT_Creditor_tbl]![BCRT_Report_Order]=58,"Under $1M",[104_BCRT_Creditor_tbl]![BCRT_Creditor_Num])))))))
When I go to preview the results - it works like it is supposed to. When I go to save my changes, the whole Access Application quits.
Anybody know why this may be happening? I didn't know that there was a limit of IIF statements - if so, it definitely is not 7...
I'm using Access XP in Windows XP - if this makes a difference.
HELP!!
Thanks,
Carie