Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Field in SQL Statement
Message
From
21/09/2006 15:47:38
 
 
To
21/09/2006 15:35:26
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01156169
Message ID:
01156173
Views:
20
>I want my results to have 1,2,3...99 in one of the fields. I thought there was a field type that would allow me to do this, but I can't seem to locate it.

Do you mean Identity field?
You start it wihth a seed (default = 1) and an increment step (default = 1). It's an int type and cannot contain nulls.

Normally used for surrogate PKs.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform