Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server 2005 - date field and VFP
Message
 
 
To
10/03/2010 11:56:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01453773
Message ID:
01453775
Views:
58
If you use RV or CA, you can map VFP date to SQL Server datetime.

>
>I want a simple date only field, which isn't possible in SQL Server (only datetime or smalldatetime), as I'd like to bind the SQL table field to an object on myForm.myDate. I'm using an updatable cursor to allow VFP to update SQL Server with any changes to the data. The SQL Server field needs to stay in date format as I'll need to use the date in select statements.
>
>How do I overcome this? Do I need to store the date in SQL Server as a text field, and then covert backwards and forwards?
>
>Regards
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform