Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 DateTime display
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096436
Message ID:
00097212
Vues:
23
>>
>>Convert to date. Look at functions TTOD() and DTOT()
>
>OK, stupid question time..... If you have a database in the dataenvironment of
>a form, the field has datetime as the datatype, and you drag and drop the field
>on to the form... how can you convert to a date? I used to understand this
>when we used memvars, now...?

You might want to unbind the control, so that the .ControlSource is blank. Then, in the txtDate.Refresh(), you can set This.Value = TTOD(myTable.tEvent), and the LostFocus can contain a REPLACE statement to go the other way.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform