//vDate1.formattedValue =
util.printd("yyyymmdd",Date());if(vDate2.rawValue <> null and
vDate1.rawValue <> null)thenif(vDate2.rawValue < vDate1.rawValue)
thenxfa.host.messageBox("Please check your meter calibration due date.
It cannot be beforethe survey date or greater than one year beyond the
calibration date!", "Date Checker", 3)$.rawValue = ""// to set focus to
the End Date fieldxfa.host.setFocus(this.somExpression)endifendifI need
to add a check in there that compares VDate1 to VDate2VDATE1...