Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MyTable.NextID
Message
De
25/09/2007 18:42:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/09/2007 18:34:41
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01256809
Message ID:
01256811
Vues:
15
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform