Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN Confused?
Message
From
07/06/2001 14:55:16
 
 
To
07/06/2001 12:03:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00515720
Message ID:
00516552
Views:
15
>
>Are you sure the collating sequence on that tag is Machine? Other collating sequences, when used on stuff other than strings, may yield gray hair, higher blood pressure and neurological disorders.
>

Collate is set to MACHINE...for sure :)

>Internally, the datetime is two integers - one for the Julian day number, and the other for the number of milliseconds. There should be no rounding issues here; if you add 1, it should add a thousand milliseconds to the right portion of it, period. I would really be surprised if adding 1 to a datetime ever managed to produce a duplicate.
>

It adds a second (or, i suppose it adds 1,000 milliseconds...not a millisecond) every time you add 1 to the dateTime. It does not produce duplicates, as far as comparing adjacent values in the memory variable. However, VFP stores the information in the table in such a way that it *thinks* it IS a duplicate (as far as index uniqueness goes), when in reality it is NOT a duplicate. As Jonathan stated yesterday, you can pull the fields from adjacent duplicate records out to variables, and the 2 variables will compare as *not* equal (but visually appear to be equal). Sounds like rounding issue to me...
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform