Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GUID as Primary Key
Message
From
18/02/2003 13:21:40
 
 
To
18/02/2003 13:00:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00754530
Message ID:
00754559
Views:
22
I would suggest the GUID too. However, most of these distributed type applications require a field for location...and that's a one time setup.


>>
>>1) Use a compound PK with two fields, location and recordID
>
>That makes it a compound key!
>
>>2) Use a GUID.
>
>This is what I would suggest. It does not require compound primary keys and no maintenance if more location get added
>
>
>
>I believe there is a API call to get the GUID
>
>Peter
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform