I have a report in which the Detail section has some code in the On Format section. The code checks to see if the value of one field exceeds the value in another and then pops up a message box if it does. I have set it up like this:
If FormatCount = 1 then
If [FirstField] > SecondField
Msgbox "..."
End if
End if
but the message box is still appearing twice for each relevant record when I open the report. Any ideas, please?
Thanks
If FormatCount = 1 then
If [FirstField] > SecondField
Msgbox "..."
End if
End if
but the message box is still appearing twice for each relevant record when I open the report. Any ideas, please?
Thanks