Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_TextBox, yyyymmdd to mm/dd/yyyy for DE
Message
 
To
31/05/2002 12:06:17
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00663509
Message ID:
00663567
Views:
15
Hi,

Set the controlsource as property of the class. Then do a 'replace table.chardatefield with DTOS(dateproperty) in the valid/lostfocus.

HTH,
Arriyel

>I have a database where all the dates are stored as C fields, yyyymmdd.
>
>I need a _Textbox class that will display the date as mm/dd/yyyy and accept
>dataentry in that format then switch it back to yyymmdd b4 the tableupdate.
>
>I would appreciate any suggestions as to ways to accomplish it, is it
>perhaps a part of some user libs here?
>thanks all
>
>bill
Speak using soft and sweet words in case you have to eat them later.
Previous
Reply
Map
View

Click here to load this message in the networking platform