Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure to generate an automatic Index
Message
From
13/01/2000 12:24:31
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00317724
Message ID:
00317725
Views:
13
>I am looking for a way to generate a unique index field each time a user starts to add a record to a parent and child tables. I thought about using a SQL statement to look for the MAX on an intiger field and then adding 1, but with multiple users I feel there would be conflicts.

The most common method is make a shared table with a counter field in it for each table that has an integer key.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform