Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In a multi user environment
Message
From
23/10/2002 09:03:45
 
 
To
23/10/2002 08:30:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00714293
Message ID:
00714312
Views:
19
That depends on your definition of your auto number.

If it's for a primary key, then I would generate it when saving the record. It would save a read/write operation to the disk (to get and increment the id) when the user cancel the operation.

If it need to be displayed to the user while he is creating a new transaction (and it is not a primary key), then I would generate it when adding the transaction.

>In a multi user environment is it a good way to generate the auto number when the user clicks add or to generate it when the user clicks save.
Previous
Reply
Map
View

Click here to load this message in the networking platform