Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table sync ideas
Message
From
16/07/2003 18:25:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00810784
Message ID:
00810879
Views:
9
>Have two copies of a property table that I want to sync into a single table. I would on the property application at home, and my friend works on it at their home. We are both adding different properties and possibly modifing the same existing properties. We are not adding the same property.
>
>Guess I should change add_dt and mod_dt to include the time. Any matching key where the add_ts is different, then it is a different property. For any matching key where the add_ts is the same but the mod_ts is different, then is is a modification. Once i have a different add, I can renumber the key and replace. If it is a different modification, I will save the most recent modified date/time. Does this seem correct? Is there something that is more precise than date/time?

For the two of you, datetime should work fine. Though it works only to the seconds level - internally, it stores milliseconds, but you can't get to them. You may get more precision by storing date in a date field and seconds() in a n(10,3) field - that would give you precision to the millisecond.

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