I'm having a problem with an expression in a Query that was built by someone else.
I get an Invalid use of Vertical bars error when I try and run it.
The expression is,
Line1: IIf([CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[EXT_CLINIC_NO]>"!"|"Clinic # " & [CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[EXT_CLINIC_NO]|[CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[LOCATION_P_ADDR_LINE_TXT1]
I was thinking they should be commas, since they look like they are separating the arguments, but I get a syntax error if I just replace them with commas. Any help? Thanks.
I get an Invalid use of Vertical bars error when I try and run it.
The expression is,
Line1: IIf([CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[EXT_CLINIC_NO]>"!"|"Clinic # " & [CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[EXT_CLINIC_NO]|[CPN_PROD_DN_CAG_SUBCAG_LOC_RPT].[LOCATION_P_ADDR_LINE_TXT1]
I was thinking they should be commas, since they look like they are separating the arguments, but I get a syntax error if I just replace them with commas. Any help? Thanks.