G
Guest
I am need to use conditional formatting in an Access Report based on four
values. I have tried writing a module but I cannot get passed a Null value
error message.
The four fields are PrimaryFirst, PrimaryLast, SecondaryFirst, SecondaryLast.
This is what I am trying to do:
IF SecondaryFirst AND SecondaryLast are Null (no data in these fields) than
Name=PrimaryFirst + PrimaryLast
IF SecondaryLast AND PrimaryLast are EQUAL than
Name = PrimaryFirst + "and" + SecondaryFirst + PrimaryLast
or
IF SecondaryFirst AND PrimaryFirst are NOT EQUAL than
Name = PrimaryFirst + PrimaryLast + "and" + SecondaryFirst + SecondaryLast
Any help would be greatly appreciated!
values. I have tried writing a module but I cannot get passed a Null value
error message.
The four fields are PrimaryFirst, PrimaryLast, SecondaryFirst, SecondaryLast.
This is what I am trying to do:
IF SecondaryFirst AND SecondaryLast are Null (no data in these fields) than
Name=PrimaryFirst + PrimaryLast
IF SecondaryLast AND PrimaryLast are EQUAL than
Name = PrimaryFirst + "and" + SecondaryFirst + PrimaryLast
or
IF SecondaryFirst AND PrimaryFirst are NOT EQUAL than
Name = PrimaryFirst + PrimaryLast + "and" + SecondaryFirst + SecondaryLast
Any help would be greatly appreciated!