Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you display SQL datetime as date in grid
Message
De
14/02/2000 08:29:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00330984
Message ID:
00331668
Vues:
20
>I'm using SPT -- I don't know if there is a way to pull just the date. I will check into that. [If anyone knows how to do that -- please let me know.]
>
>Thanks,
>Doug

Use this :
With THISFORM.grid1
.RecordSource = "MyCursor"
.Column1.ControlSource = "ttod(MyCursor.Date1)"
EndWith

--> With the controlSource property you can do a lot of stuff like str, substr(), ....

Stef
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform