Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxPro date becomes datetime
Message
 
To
23/04/2002 11:04:31
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00648169
Message ID:
00648300
Views:
14
>Hi,
>Anyone know why when I access a date field from a VFP table the DataAdapter returns a datetime instead of just a date? Or does someone know how to fix this - all I want is just the date (this is for a DOB field).
>
>TIA
>John

Pure DATE type is specific to FoxPro (it might also exist in some other systems, I guess). Practically you may say that DATETIME is more or less standard for dates exchange. For example, you might get a data type error if you return DATE type value from VFP COM object to VFP application and try to treat the received value as DATE. You will actually receive the DATETIME as it is the standard type for COM data exchange.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform