Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoIncrement Field and Duplicating Records
Message
 
À
03/08/2007 14:35:53
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01245869
Message ID:
01245904
Vues:
38
Hi Jay,

>Update: The ultimate question is, is there any way to programmatically tell what the next autoinc value will be?

It's at position 19-22 of the field record (you can have multiple auto inc fields per record) in the header. So that should be at position 32*fieldnum+19. The following four bytes contain the next value.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform