Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic Primary Key Value
Message
From
07/08/2001 11:00:28
 
 
To
07/08/2001 10:52:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00540694
Message ID:
00540707
Views:
18
>Just beginning to delve into SQL syntax in VFP and would like to create a primary (numeric) key in a table. I would also like this field to simply be an integer value which increments by 1 each time a new record is added.
>
>Some SQL languages have a definition which causes this to happen. I haven't seen any reference to something like this so far. Is there anything like this in VFP ?
>
>If not, is there a recommended method for handling this ? Separate FREE table to store next value in ? Table within the database ?

Don,

See a working function at:

http://www.craigberntson.com/Articles/kb006.htm
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform