Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Separate date and time from Datetime field
Message
From
12/07/2018 16:43:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01661124
Message ID:
01661147
Views:
46
>Hi,
>
>How do you separate the date and time from the DateTime field so that each part (date and time) can be bound to a different control?
>
>E.g. I have a date pick control that I want to bind to the date part of the DateTime field. This one is simple.
>And I have another control, based on VFP spin control, that I can bind to a Time. And the Time would be in the format as HH:MM. But how do I get the Time portion from the DateTime field? So that when a user changes the time via the time pick control, it updates the DateTime field?
>
>TIA

You don't need to. As I said just use dtControl from FoxyCLasses.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform