G
Guest
Hi, I this statement I wrote. It works for nearly all 7500 records except
for a sporatic 1,200! I can't figure out why. Any suggestions?
PartInj: IIf([PriDx] Is Not Null,[PriDx],IIf([Sec1] Is Not
Null,[Sec1],IIf([Sec2] Is Not Null,[Sec2],IIf([Sec3] Is Not
Null,[Sec3],IIf([Sec4] Is Not Null,[Sec4],IIf([Sec5] Is Not
Null,[Sec5],IIf([Sec6] Is Not Null,[Sec6],"")))))))
If the primary diagnosis is not null then show me or else look at the next
diagnosis and if that is not null then show that one else...
Thanks,
Todd
for a sporatic 1,200! I can't figure out why. Any suggestions?
PartInj: IIf([PriDx] Is Not Null,[PriDx],IIf([Sec1] Is Not
Null,[Sec1],IIf([Sec2] Is Not Null,[Sec2],IIf([Sec3] Is Not
Null,[Sec3],IIf([Sec4] Is Not Null,[Sec4],IIf([Sec5] Is Not
Null,[Sec5],IIf([Sec6] Is Not Null,[Sec6],"")))))))
If the primary diagnosis is not null then show me or else look at the next
diagnosis and if that is not null then show that one else...
Thanks,
Todd