Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Has anybody used OFFLINE REMOTE VIEWS?
Message
From
27/08/2002 11:20:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00693887
Message ID:
00694034
Views:
14
>FYI the tricky part when I did it a few years ago was the primary keys...if the road-bound person is going to be ADDING data then you need to set it all up so they have their own set of primary keys...it's not overly complicated I just started them out at a high number.

I didn't really had the need to do this yet, but I think several alternatives to the solution you propose are available, for instance:

  • Use two fields for the PK. One is the user number (each user has to be assigned a unique number), the other one, a sequential number.
  • Same as above, but combine into a single field with bintoc(gn_UserId,2) + bintoc(SerialNumber("TableName")).
  • Use a GUID as a PK.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform