Use a variable edit to set the dates. You can hide the variable edits show the 
user does not see them.



[cid:[email protected]]

Then on the “on change date eep” of the date picker 1 (on the left)

set var vedate text
getproperty VariableEdit1 textvalue 'vedate'
set var vdate2 = .vedate
recalc variables
clear var vedate
return

Dan Goldberg

From: [email protected] [mailto:[email protected]] On Behalf Of 
Tom Hart
Sent: Wednesday, April 5, 2017 3:08 PM
To: [email protected]
Subject: Re: [RBASE-L] - Date Picker

I use a var date picker (one for start date/one for end date) and it defaults 
to current date in both.

Tom Hart

On Wed, Apr 5, 2017 at 10:08 AM, Albert Berry 
<[email protected]<mailto:[email protected]>> wrote:
Assign the ending date field a component id e.g.: cEndingDate
Assign the beginning: cBeginDate
Add an exit eep to the beginning date

SET VAR vEndDate DATE
SET VAR vEndDateT TEXT
GETPROPERTY cBeginDate TEXTVALUE ‘vEndDateT’
SET VAR vEndDate = .vEndDateT
PROPERTY cEndDate TEXTVALUE .vEndDate
RETURN

Try that and see if it works for you.
Albert

> On Apr 5, 2017, at 8:57 AM, Carpet Broker, Dick Fey 
> <[email protected]<mailto:[email protected]>> wrote:
>
> Have a form with an start date and a end date.
> Using a dbdatepicker, how can I make the end date calender open with the same 
> month as the start date, when the
> user picks a month later than the current one?
>
> Dick Fey
>
> --
> Carpet Broker Inc
> P: 913-894-9211<tel:913-894-9211>
> F: 913-894-0138<tel:913-894-0138>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to 
> [email protected]<mailto:rbase-l%[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:rbase-l%[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to