Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Other user's data entry is appearing in User's entry scr
Message
De
18/12/2003 15:29:32
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
18/12/2003 14:41:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00846908
Message ID:
00860508
Vues:
18
Hi Kimberley

>This program relies on the records in the table (like an auto-incrementing field).

It is unlikely an auto-incrementing field uses the records in the table to determine the next value. That could be very slow.

> We more our deleted records into an inactive table, so if the last record gets moved than this will create an id that has already been used but is no longer in the "active" table. I need to track my ids in my counters table to avoid this potential problem.

That's what the routine I gave you does. It uses a counters table to hold the last id generated for each table.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform