Jim, It did indeed work, good thinking! But I think I will ask for an enhancement to make it simpler to use. Bernie Lis
----- Original Message ----- From: "Jim Limburg" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Tuesday, March 08, 2005 11:42 AM
Subject: [RBG7-L] - RE: GETDATE
This will work..
SET VAR vm_begdate = (getdate('Select Starting Date')) SET VAR vm_msg1 = 'Starting ' + (CTXT(.vm_begdate)) SET VAR vm_cmd = 'SET VAR vm_enddate = (getdate(' + + (CTXT(char(39))) + .vm_msg1 + (CTXT(char(39))) + '))' &vm_cmd
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Lis Sent: Tuesday, March 08, 2005 10:55 AM To: RBG7-L Mailing List Subject: [RBG7-L] - GETDATE
Getdate does not seem to allow a variable for the caption, is this correct?
Or am I not doing this correctly?
While getting the start and end dates, I want to display the start date in the caption for the ending date.
set var vStartDate = (getdate('Enter Starting Date')) set var msg1 = ('From'
& ctxt(.vStartDate)) set var vEndDate = (getdate(.msg1))
Bernie Lis
