Hi,
I have five fields in a report with expression for each field in control source:
Field 1: Description
Description
Field 2: Item Number
Item Number
Field 3: OLD PRICE
=IIf([Old ESUP]>0 AND (nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),[Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA],""
Field 4: NEW PRICE
=IIF((nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),[ESUP]-([ESUP]*[DKLPCT])-[Current MPA],""
Field 5: PRICE PRO. AMT. / UNIT
=IIf([Old ESUP]>0 AND (nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),(CLng([Text70]*100)-([Text68]*100))/100,""
What I would like to do is, if there is a difference of zero between field 3 and 4, then I do not want to show any values in field 1 or 2 or 3 or 4 or 5. I've got it to work where no values are being shown in field 3, 4, or 5. However, values in field 1 and 2 are still being shown. I do not want any values in field 1 or 2 either if there is a difference of zero between field 3 and 4.
Thank you in advance.
DK
I have five fields in a report with expression for each field in control source:
Field 1: Description
Description
Field 2: Item Number
Item Number
Field 3: OLD PRICE
=IIf([Old ESUP]>0 AND (nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),[Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA],""

Field 4: NEW PRICE
=IIF((nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),[ESUP]-([ESUP]*[DKLPCT])-[Current MPA],""

Field 5: PRICE PRO. AMT. / UNIT
=IIf([Old ESUP]>0 AND (nz([Old ESUP]-([Old ESUP]*[Old DKLPCT])-[Old MPA])<>nz([ESUP]-([ESUP]*[DKLPCT])-[Current MPA])),(CLng([Text70]*100)-([Text68]*100))/100,""

What I would like to do is, if there is a difference of zero between field 3 and 4, then I do not want to show any values in field 1 or 2 or 3 or 4 or 5. I've got it to work where no values are being shown in field 3, 4, or 5. However, values in field 1 and 2 are still being shown. I do not want any values in field 1 or 2 either if there is a difference of zero between field 3 and 4.
Thank you in advance.
DK