Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Excess Level
Message
From
09/01/2005 09:35:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/01/2005 00:54:08
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975477
Message ID:
00975485
Views:
15
>Hi,
>
>Can anyone help me how to create user excess level in Application Wizard.
>
>Thanks - Saif

The Application Wizard is a simple and primitive example. I think that it should be understood that its purpose is NOT to create complete applications, but rather to serve as an example, how some things can be solved. In other words, IMO, no serious developer should use it for real work.

To save you programming work - and not do everything yourself - you should get a framework. Several are available; some are free, others cost up to about 500 US-dollars.

If you want to program it yourself, you would need a table of users; columns might include login, password, complete name, and user level.

Each form can have a property, what user level is required to open it. If a user who doesn't have sufficient rights tries to open the form, the form will give an error message (this is optional, but very useful), and then quit. This is most easily done in Form.Init(). With a simple
RETURN .F.
the form won't open.

Greetings,

Hilmar.

BTW, please look up the following words in your dictionary, or in www.dictionary.com: "access", "excess". The pronunciation is similar, but the meaning is quite different.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform