Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoIncrement Field and Duplicating Records
Message
 
To
03/08/2007 14:35:53
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01245869
Message ID:
01245904
Views:
37
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
Previous
Reply
Map
View

Click here to load this message in the networking platform