-Duration, calculated days between two user input dates.
-FullDay, user inputs.
-PartDay, user inputs.
-SumFullPart, calculated sum of FullDay and PartDay, to be hidden.
Note that Duration should always equal the sum of FullDay and PartDay.
After the above, the user inputs some more data, into NEWOBJECT. I wish to ensure that FullDay and HalfDay counts equal Duration.
I have entered the following code into the enter function of NEWOBJECT. (I also would like to send them back to the previous object.)
if (SumFullPart) < > 0 then
I get an error returned: "Syntax error near token '< >' on line 1, column 19.
I have tried with and without quotes to no avail.
Can anyone see my error?