I use the GETDATE command to bring up the calendar so people can choose
the date.

Does the CANCEL button give the same value as the Escape key in my
variable below?

Should I use IF Date_A = [Esc] instead of the IS NULL in my IF THEN
statement?

 

SET VAR Date_A = (GETDATE('Pick Processing Start Date'))

            IF Date_A IS NULL THEN

               SET VAR vAbort = 1

               PAUSE 2 USING 'OPPERATION ABORTED!'

               BREAK

            ENDIF

 

The above code works in RBEDIT mode but not from the R prompt. I get a
SET error.

 

What am I doing wrong?  

 

Jim

Reply via email to