Author: Vincent Teachout
Posted: 2010-06-15 at 23:51:10
Just trying to avoid re-inventing the wheel.
I have a record with an 8 character length that stores dates in YYYYMMDD
format (Dtos() format) I have no say in the field definition.
In my form, I'd like the user to be able to input the date in a field
with a "D" format code.
I COULD write some init() and save() code to translate, but just
wondering if there is some magic function/field/format/picture that I
don't know about. Has to work both ways - change the incoming text
"YYYYMMDD" string to a date, and save the date back to the field as
dtos(user-date).
Don't knock yourself out - If such a beastie doesn't leap to mind, I'll
just do my work like I'm supposed to.....
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4C184A2E.3040107@taconic.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.