Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Has anybody used OFFLINE REMOTE VIEWS?
Message
De
27/08/2002 11:20:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00693887
Message ID:
00694034
Vues:
15
>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)
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform