Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MyTable.NextID
Message
From
25/09/2007 18:42:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/09/2007 18:34:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01256809
Message ID:
01256811
Views:
18
>We do not want to use AutoInc for this because we've had problems when inserting into tables using SQL in being able to rebuild data if things go bad. I don't have a better explanation, that's what I got from a co-developer. So, I used to have a nifty little proc, that I thought I got from here, that used a table to store table names and the next ID value for that table. It was nice, but I can't find it in the download section. Does anyone know where I can find it, or has one that does this sort of thing? Thanks!

My article on primary keys includes one such function.

Universal Thread Magazine, May 2002. Search for function SerialNumber().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform