G
Guest
I have a crazy control source already which divides one expression in to
another (see below). The problem is the second half may be "0" and is throws
#num! when it is. I'd like to show a "-" instead of #num!". Any ideas on
how to format the IIF (i've tried a few differnt ways to no avail.)
Full code as is:
=(Count(IIf([Product Type]=Forms![Allied or Monster]!ProductTypeV And
[Packet Sent to Wholesaler YN]=True,[Wholesaler
ID],Null)))/(Count(IIf([Product Type]="Allied",[Wholesaler ID],Null)))
Thanks,
Adam
another (see below). The problem is the second half may be "0" and is throws
#num! when it is. I'd like to show a "-" instead of #num!". Any ideas on
how to format the IIF (i've tried a few differnt ways to no avail.)
Full code as is:
=(Count(IIf([Product Type]=Forms![Allied or Monster]!ProductTypeV And
[Packet Sent to Wholesaler YN]=True,[Wholesaler
ID],Null)))/(Count(IIf([Product Type]="Allied",[Wholesaler ID],Null)))
Thanks,
Adam