Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default unique ID values for a field in a remote table ?
Message
 
À
02/06/1998 15:32:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00103696
Message ID:
00104179
Vues:
49
Hi Andrea,

>So far the idea could be this :
>
>1) lock the Id table
>2) read the value
>3) store on the view the value incremented by 1
>4) attempt a TableUpdate()
>5) if successful, write back the incremented value into the Id table
>6) close the Id table
>7) execute the code to handle the eventually failed TableUpdate, and when this is over, re-attempt the whole pass.
>
>What do you think about it ?

Looks good. Prefect. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform