Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN Confused?
Message
From
07/06/2001 16:08:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/06/2001 14:55:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00515720
Message ID:
00516621
Views:
13
>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...

It's the milliseconds which are not displayed, but are there... but then, the way this case was built, there should always be 0 milliseconds, or... well, if XX century had only 99 years, why should each and every second have exactly 1000 milliseconds?

A way to check this would be to display datetimefield-ctot(ttoc(datetimefield)), it should reveal milliseconds, if any. I haven't tried this, it just seems to be one of old tricks around here.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform