At 05:23 PM 12/9/2004 -0500, J. Blaustein wrote:
Is there away to have the getdate function to begin from a type
date - not today
J,
GETDATE function does not accept pre-defined variables; it only
returns the selected date into a variable.
Here's an eloquent way to achieve the same goal using Custom
Form with Variable Date/Time Picker in R:BASE 7.1 for Windows.
http://www.razzak.com/SampleApplications/GetDatesForm.zip
Steps:
01. Unzip GetDatesForm.zip in sample ConComp database directory
For example: C:\RBTI\RBG7\Samples\ConComp
Files:
GetDatesForm.FRM
GetDatesForm.LOB
GetDatesForm.RMD
02. Start RBG7 (Update 78 or higher)
Switch the default directory to C:\RBTI\RBG7\Samples\ConComp
CONNECT ConComp
03. At the R> Prompt:
RUN GetDatesForm.FRM
-- That will load GetDatesForm form
RUN GetDatesForm.RMD
-- Will demonstrate the technique of getting Start/End Date
Feel free to make any modifications to meet your needs.
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.