Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last row in a table
Message
From
23/04/2002 15:41:52
 
 
To
23/04/2002 15:19:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00648365
Message ID:
00648383
Views:
17
Hello James,

In a multi-user environment, that is a risky method for generating sequence numbers. Craig Berntson has an article on his website for generating primary keys that you may find helpful: http://www.craigberntson.com/Articles/kb006.htm

>hey everyone,
>is there a way to look at the last row in a table. what i am trying to do is add on to sequence numbers in a table. i want to look at a table's field, for this example we will call it seqnum, and say something like seqnum + 1 for every new insert i make into the table. this way i keep the numbers in sequential order. any advise would be appreciated. thanks.
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform