Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying only the date of a datetime field?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00845159
Message ID:
00845164
Views:
15
It depends on how do you get data from Sql Server. In particular you may :
- use datepart Sql function;
- set format to dislay data in, say, textbox on the form
etc..

>I have some fields in a SQL Server database that are datetime, but I only want to display the date part for data entry purposes. I realize I could subclass my text boxes to handle that with moving around the controlsource and other things, but I was wondering if there was a way to do it with some property and environment settings. Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform