Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime / date problems in grid
Message
From
08/02/2000 09:37:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Datetime / date problems in grid
Miscellaneous
Thread ID:
00328750
Message ID:
00328750
Views:
47
Hello,

I am using SQL server so all my dates get returned as datetime values. I am only interested in the date portion. For forms, I have created a class that handles this well - puts the TTOD() value in the textbox at refresh and updates the datetime field in valid() - works fine. HOWEVER - I am struggling with how to handle this in a grid. My class won't display anything there.

I want the grid to SHOW ONLY date portion of value, be updatable, and only allow DATE portion to be entered. If I set column source to TTOD(myfield), the column becomes read-only - if I set the column to myfield and the individual textbox to TTOD(myfield), I still get the whole darn datetime value in the box! How are others handling this? what's the secret?

Thanks!
Ken
Ken B. Matson
GCom2 Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform