K
KaiRich
Hi all,
I have four fields, if any of them hold "Y" then I want
the query to return "Y" - but I only want one such field
in the query.
I have tried:
EMP: IIf([Emp Save]="Y" Or [Emp Inv]="Y" Or [Emp Loan]="Y"
Or [Emp Over]="Y","Y","N")
but get 'Not part of an aggregate function' error.
If this were numerical I would just throw Sum() around the
field names, but I can't find any text functions that will
do the same.
Can any one either point me to a text function that will
do the job, or let me know how to re-write the expression.
I have four fields, if any of them hold "Y" then I want
the query to return "Y" - but I only want one such field
in the query.
I have tried:
EMP: IIf([Emp Save]="Y" Or [Emp Inv]="Y" Or [Emp Loan]="Y"
Or [Emp Over]="Y","Y","N")
but get 'Not part of an aggregate function' error.
If this were numerical I would just throw Sum() around the
field names, but I can't find any text functions that will
do the same.
Can any one either point me to a text function that will
do the job, or let me know how to re-write the expression.