Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increment numeric fields without Identity columns.
Message
De
11/12/2001 11:06:42
 
 
À
11/12/2001 11:02:21
Carla Silva
Http - Produtos Informaticos, Lda.
Odivelas, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00592696
Message ID:
00592699
Vues:
18
Carla

You can use a NEXTID type table to hold the last numeric value used by the table, then when you need the next value, you can obtain it from this table, then bump the id up by 1.

Kev

>Hi,
>
>I have a multiuser application, and some table have a numeric field that must be incremented before the TableUpdate.
>this field can´t be an identity column, so i have to find the last number in the table to replace this field with the new number before the tableupdate. How can I do this operation and without that another user can insert a new record with the same number.
>
>I`m using Remote Views and manual transactions.
>
>Thanks,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform