Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to detect if field is set for autoincrement
Message
 
 
À
23/05/2007 08:23:57
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01227864
Message ID:
01227866
Vues:
11
>I spent too much time chasing down some data corruption that was caused by a primary key field that had been changed from autoincrement to standard integer. Is there a cursorgetprop or other way to detect when a field is not autoincrementing on append/insert? A custom function?

You can use AFIELDS() and check column 18 for value > 0.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform