I have a table with two date fieldsBoth date fields are in a different
subform, but in the same table and rowI want to compare dose
fielfds.Date 2 must be newer than Date 1The pattern is D-M-YYThis is
what i have so far, but is doesn't workvar vDate1 = Date2Num($.rawValue,
"YY-M-D")var vDate2 = Date2Num(DateField2.rawValue, "YY-M-D") if
(HasValue (vDate2)) then if (vDate2 <= vDate1) then
xfa.host.messageBox("Error message") $.rawValue = null endif endifIs
there someone who can help me with this?