Jim,
Maybe try SET VAR Date_A date=(GETDATE('Pick Processing Start Date'))
Dave Fitts
State of Maine
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Jim
Belisle
Sent: Thursday, August 13, 2009 8:35 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - GETDATE
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