Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default unique ID values for a field in a remote table ?
Message
De
02/06/1998 11:43:51
 
 
À
02/06/1998 11:27:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00103696
Message ID:
00104027
Vues:
49
>Normal ID generation procedure (can be stored or regular) is foolowing:
>You have separate table 'Setup.dbf' with two fields 'Tablename','NewID'.
>***Procedure GetNewid
[...]

Right, thanks. This way the only way to retrieve the new index to show it on my form (without requerying the table), would be to call GetNewId as a regular procedure, maybe just before the TableUpdate(). But what should I do if the update fails for whatever reason ? I'd like to avoid 'holes' in the ID field, and so the stored procedure should be preferred. But then, how could I get the new id back to my code ?
Sincerely,

Andrea Brajuka
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform