Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically make a field AutoInc
Message
De
22/01/2009 12:43:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01376350
Message ID:
01376354
Vues:
13
That's exactly what I needed.

Thanks, Borislav

Jim

>>What's the syntax to alter a field to be AutoInc? I tried the following, but it doesn't work:
>>
>>
	Alter Table (DBF()) Alter Column LicenseTag FieldType AutoInc NextValue (lnNextValue)
>>Thanks
>
>The field must be INTEGER ONLY!
>
>Alter Table (DBF()) Alter Column LicenseTag I AutoInc NextValue (lnNextValue)
>
>Also current table must be opened exclusive.
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform