Oops, simplified OnAfterStart EEP:
IF vLeft IS not NULL THEN
 SET VAR vLeft = (CTXT((NINT(.vLeft)) + 50))
 PROPERTY RBASE_FORM left .vLeft
ENDIF

No need to test for vLeft null or zero, it's set in the pushbutton to start another form:

Doug Hamilton wrote:
Try this  (Thank you Form | Document Custom EEPS | Clipboard):

On After Start EEP
 IF vLeft IS NULL OR vLeft = '0' THEN
   GETPROPERTY RBASE_FORM left 'vLeft'
 ELSE
   --Remember, vLeft is a text variable, convert it to integer
   --  before adding the offset
   SET VAR vLeft = (CTXT((NINT(.vLeft)) + 50))
   PROPERTY RBASE_FORM left .vLeft
 ENDIF



Reply via email to