Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Other user's data entry is appearing in User's entry scr
Message
From
18/12/2003 15:29:32
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
18/12/2003 14:41:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00846908
Message ID:
00860508
Views:
19
Hi Kimberley

>This program relies on the records in the table (like an auto-incrementing field).

It is unlikely an auto-incrementing field uses the records in the table to determine the next value. That could be very slow.

> We more our deleted records into an inactive table, so if the last record gets moved than this will create an id that has already been used but is no longer in the "active" table. I need to track my ids in my counters table to avoid this potential problem.

That's what the routine I gave you does. It uses a counters table to hold the last id generated for each table.
Previous
Reply
Map
View

Click here to load this message in the networking platform