I'm trying to perform an update query based on an Iif statement. If the condition is met, then I want to map the left portion of the tax_zip for 5 characters and the same for the right hand portion of the taxp_zip for 4 characters. I'm getting errors, can you tell me where my error is?
IIf([DALRES].[ST_NUM1]=[DALRES].[TAXP_NUM1],Left([DALRES].[TAXP_ZIP],5),"")
IIf([DALRES].[ST_NUM1]=[DALRES].[TAXP_NUM1],Right([DALRES].[TAXP_ZIP],4),"")
Thanks,
Kelly
IIf([DALRES].[ST_NUM1]=[DALRES].[TAXP_NUM1],Left([DALRES].[TAXP_ZIP],5),"")
IIf([DALRES].[ST_NUM1]=[DALRES].[TAXP_NUM1],Right([DALRES].[TAXP_ZIP],4),"")
Thanks,
Kelly