Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique ID Violated With Add/Delete
Message
From
15/06/1998 13:32:45
 
 
To
15/06/1998 13:07:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00108257
Message ID:
00108286
Views:
42
>>Bear in mind that the DELETED() status has nothing to do with the uniqueness of a candidate or primary index. In any incremental key situation, you have to search all your table whether or not the records have been deleted.
>
>
>PMFJI but in addition, even if you should check the deleted records, a simulataneous add by two users will also give the same behavior.

I agree. Tying this into an earlier thread about unique keys, I don't even try to use sequential numbers unless forced to. I like to use GUIDs as primary (unique) keys.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform