Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting DateTime as Date
Message
De
08/10/2008 14:51:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01353661
Message ID:
01353672
Vues:
21
>>I have a cursor with a couple of DateTime fields
>>
>>There is a grid associated with this cursor. We don't edit the grid directly so there are also some textboxes used to edit the cursor's data.
>>
>>How can I format the column and the textbox so that only the date portion is displayed?
>>
>>Thanks..........Rich
>
>Then why you use DateTime?
1. Because the cursor comes from a MySql table which has the field defined as DateTime
2. Just for general information
3. Because I'm stubborn



>Use date.
I don't want to recode the data retrieval portion unless I really need to.


>
>If the controls are readonly you could put [=TTOD(TheFIeld)] it their ControlSource property.

That answers the grid question. Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform