If then ??

trackmedic

Registered User.
Local time
Today, 22:57
Joined
Aug 20, 2001
Messages
115
Hi,

I would like to place an unbound box on a form to show the words "Time Violation" if the following is true between two fields on the form.

if "total hours worked" > "total hours rest"

Can someone help me with the syntax for this?

As always, thanks in advance!:D
 
Try

=IIf([total hours worked] > [total hours rest], "Time violation", "")
 

Users who are viewing this thread

Back
Top Bottom