Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control end user licences
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00410778
Message ID:
00410931
Views:
15
>Hola Carlos,
>
>If you want to grant 10 licenses, create a table with 10 records. Whenever a user logs in, he grabs the first available record and locks it.
>
>When 10 records are locked, no more users can grab a license and the program bounces them.
>
>If any workstation crashes, its locked record is released.
>
>This is the simplest way I've seen for implementing what you need, but I'm sure that someone can poke holes at it and/or come up with something more interesting.
>
>alex


But what if the user add records to the table?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform