Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting datetime to date
Message
De
30/12/1998 12:09:16
 
 
À
30/12/1998 12:01:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00168548
Message ID:
00171578
Vues:
32
>>>>It works, just type to controlsource '0+ttod(table.field)'. It will make this trick.
>>>
>>>Hi Edward,
>>>
>>>It worked perfectly!! Thanks!!!! Now, I don't understand why it worked. What difference did the 0+ make? How? Thanks again for the help.
>>
>>It forces VFP to perceive it as expression, just a trick nothing else.
>
>Well, it sure is a neat little trick!
>
>Something I discovered as I kept working is that for some reason it make the field read-only. But that's okay becuase I set the format back to normal and found how to change the datetime type to date in the view definition.
>
>But I sure do appreciate the help!!

Thanks. Any time you use expression as control.controlsource, it makes this control read-only, but underlying field(s) are still read-write.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform