Not familiar with Form, how to make change

Version: 10.2B
Platform: Linux (character based)


The original logic is that when "Confirm Date" is to be updated, it allows only a date greater or equal to the "Order Date".
This is to be changed to TODAY instead of the "Order Date", that is, only a "Confirm Date" greater than or equal to today is allowed.

It seems the form itself doesn't allow any variable including "TODAY", it allows only a database field. So how will I be able to change it to display TODAY instead of Order.Order-Date?


Code:
FORM "The Confirm Date must be greater than or equal to the" 
     SKIP
     "Date of the last changes made to the Order("
     Order.Order-Date ")."
     SKIP (1)
     "Enter a new Confirm Date? " AT 1
     Order.ConfirmDate NO-LABEL SKIP
     WITH SIDE-LABELS CENTERED OVERLAY ROW 8 FRAME date-confirm.
 

rzr

Member
either define a variable (INIT TODAY) and use this in FORM or if possible just show a message
FORM "The Confirm Date must be greater than or equal to TODAY" .....
 
Top