Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically make a field AutoInc
Message
From
22/01/2009 12:43:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01376350
Message ID:
01376354
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform