Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of Short Date Access field type?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00814556
Message ID:
00814716
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
myDateVar = Null
REPLACE myDateFiled WITH Null
>Hi Sergey,
>
>Thank you for the replay. How can I assign a Null value to a date field in VFP.
>
>Ali
>
>>Hi Ali,
>>
>>I don't know about Access but ODBC doesn't support empty dates. You may consider using Null's instead.
>>
>>>Hi every body,
>>>
>>>Thanks for the reply. I have got a problem with access DATETIME fields. While they have none blank values they work great. However, when I try to empty a DATETIME Access field through ODBC in VFP6, I get the following error:
>>>
>>>Connectivity error: [Microsoft][ODBC Microsoft Access Driver]
>>>Data type mismatch in criteria expression.
>>>
>>>How can I fix this problem?
>>>
>>>Thank you,
>>>Ali
>>>
>>>
>>>
>>>
>>>
>>>>>Hi every body,
>>>>>
>>>>>I have a question for you. I am accessing an Access database through ODBC. What is the equivalent of ‘Short Date’ in FoxPro?
>>>>>
>>>>>Thank you,
>>>>Ali,
>>>>
>>>>You can run select through ODBC and check what data type FoxPro uses for a ‘Short Date’ field in the cursor created.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform