I am trying to get a "Y" or a "N" in an Access query (Flag).
Here is my "update to" formula:
IIf([ADMISSION SVS CD]="EOP" And [I/O]="O","Y","N") Or IIf([ADMISSION SVS CD]="EO2" And [I/O]="O","Y","N")
Inexplicably I get "-1" for all records as a result. What is wrong with it?
Thank you so much in advance.
Here is my "update to" formula:
IIf([ADMISSION SVS CD]="EOP" And [I/O]="O","Y","N") Or IIf([ADMISSION SVS CD]="EO2" And [I/O]="O","Y","N")
Inexplicably I get "-1" for all records as a result. What is wrong with it?
Thank you so much in advance.