fitaliano
asked on
pulling string values form date field
I have a date field [EndDate], I want to capture year and month and put them in a text field [RefPeriod] with the following text format yy-mmm
Example: for 30-Nov-13 in EndDate, I would like to have 13-Nov in RefPeriod
Thank you
Example: for 30-Nov-13 in EndDate, I would like to have 13-Nov in RefPeriod
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
personally, I'd advise against storing this value, as it can always be recomputed when you need it via a query.
Just use a textbox on your form bound to EndDate.
Then set the Format property of the textbox to:
yy\-mmm
/gustav
Then set the Format property of the textbox to:
yy\-mmm
/gustav