Lena,
FWIW, what you are seeing is the customized display format, the DATE
FORMAT/SEQ is still maintained behind the scenes.
If you need to capture the same format as displayed on the calendar,
you may use the technique as follows:
-- Example
SET VAR vDate DATE = 7/1/2018
SET VAR v1 TEXT = (FORMAT(.vDate,'MMM+ YYYY'))
SHOW VAR v1
Hope that provides you with some blue's clues!
Very Best R:egards,
Razzak
At 02:16 PM 8/21/2018, Lena Dammstrom wrote:
Greetings all,
Using RBase X latest version
I cannot seem to capture the Month/Year selected by user.
Coming into the form the date is set to 7/1/2018, but is changed to
June 2018. Yet the TextValue remains at 7/1/2018.
Neither the ON Change nor the ON Click not trigger, only the On Exit
Yet the TextValue remains 7/1/2018 even though the month year has
been changed to June 2018.
How do I capture the change when Show Days are off?
Any clues would be greatly appreciated.
Best Regards
Lena
EnhancedVarCalendar
Var Name: vgdmMonthOne (date)
ComponentID: dtOneMonth
Show Days (unchecked)
Calendar Elements (checked) Year, Month and Arrow
[]
ON EXIT EPP
Set Trace ON
SET VAR vTmp TEXT = NULL
GETPROPERTY dtOneMonth TEXTVALUE vTmp
PAUSE 1 USING .vTmp
SET VAR vgdmMonthOne = .vTmp
RECALC VARIABLES
PROCESSMESSAGE
--
For group guidelines, visit
<http://www.rbase.com/support/usersgroup_guidelines.php>http://www.rbase.com/support/usersgroup_guidelines.php
---
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
<mailto:[email protected]>[email protected].
For more options, visit
<https://groups.google.com/d/optout>https://groups.google.com/d/optout.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
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.