Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime size
Message
 
To
20/07/2009 11:21:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01413375
Message ID:
01413502
Views:
52
Hi Dragan,

>From what I knew and what I just re-read, the datetime field in a SQL server table has the same structure as in VFP - 4 byte integer to represent the date, 4 bytes integer for the milliseconds.

SQL server stored the milliseconds. VFP only stores seconds. That's the reason why you get an update conflict error when you change a datetime field from VFP and use the "modified fields and key fields" WHERE clause for the view or cursor adapter.

BTW <g>, there isn't _the_ datetime format in VFP. VFP uses at least two different formats, one in DBF files and one for MEM files.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform