Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Prevent Page Change
Message
 
 
To
28/04/1999 13:43:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00213072
Message ID:
00213081
Views:
39
>Hi Everyone
>Excuse the simple question. Is there a way to prevent a user from changing pages, in a page frame, other than disabling all other pages. Returning .F. from the page deactivate event does not work.
>
>TIA
>Bill Sabo

Aside from the other replies, I would think the user-friendly way to do this is to deactivate any pages not currently available to the users. As an example, one of my forms has a 3 page pageframe and pages 2 and 3 only activate if applicable. The first page has some generic user access authorities [e.g. read-only access to the customers table]. If the user is granted RO to the customer table, page 2 activates so table level options can be set. For example, if the user is then granted edit privileges on the customer table, page 3 is activated where field level privileges can be set.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform