I am new to Microsoft Access and I am having to make a change to code that already exists. Here is what I am trying to do:
B_COST: IIf([DISTR_AMT]NOT NULL,"B_COST",I If([INSUR]NOT NULL,"B_COST"))
What I am trying to accomplish is the field B_COST will consist of amounts from DISTR_AMT if it is not null or amounts from INSUR if it is not null. I tried using an OR statment but it did not like it.
thanks
B_COST: IIf([DISTR_AMT]NOT NULL,"B_COST",I If([INSUR]NOT NULL,"B_COST"))
What I am trying to accomplish is the field B_COST will consist of amounts from DISTR_AMT if it is not null or amounts from INSUR if it is not null. I tried using an OR statment but it did not like it.
thanks
Comment