Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem on Replication - Reuse key
Message
From
08/10/2001 02:00:42
 
 
To
07/10/2001 09:43:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00565078
Message ID:
00565359
Views:
20
This message has been marked as the solution to the initial question of the thread.
Hi!

You require to indentify records by some way. You cannot make exact rules for such updating. Add a field to the table wich is integer record unique ID number. This do not required to be shown in the interface or anywhere in the client application, just add it for internal purposes (replication).



>Hi,
> Thank you for your information.
> I think the main mistake in my application is, I re-use the PK. I don't have any unique integer used as PK, instead i am using value such as user entered customer ID as PK. And my app allow the deleted PK value to be re-used. for example:
>
>
>PK       Delete Mark
>VIP01       .T.       && *****
>VIP02       .F.
>VIP01       .F.       && Reused
>
>
>Therefore, it cause problem when comparing records between working and backup record. The record marked '*****' will be insertewd into my forward table either. Any ideas?
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform