Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you display SQL datetime as date in grid
Message
From
14/02/2000 08:29:51
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00330984
Message ID:
00331668
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform