Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finally hit by integer surrogate keys:(
Message
 
To
17/10/2006 12:31:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01162506
Message ID:
01162634
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
Cetin,

Your problem is one of replication. The approach that I would take is to provide an additional field in the offline tables for the storage of a "temporary key". That way you can write a program that will update the online data from the offline data and update the keys when you post the offlne data. The temporary key field in the offline data is only used for new records and for those new records the actual key field is left emtpy. When the offline data is posted to the online data the program recognizes the use of the tmp key and makes the replacement with the actual key issued by the online database.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform