Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto increment Identity field
Message
From
08/10/2003 15:12:38
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Auto increment Identity field
Miscellaneous
Thread ID:
00836418
Message ID:
00836418
Views:
52
I am using VFP 8 to develop an application with the data in MS SQL 2000.

I have a table with an identity field called ID and it is an integer. When I append a blank record, I thought it would populate the ID field with the next number but it does not.

Now I just go to the bottom of the table and add one to the last record ID, but this could get darn slow as the system ends up with a large number of records.

How do I get SQL or VFP to automatically increment that number?

Should I just not use Append Blank?
Next
Reply
Map
View

Click here to load this message in the networking platform