Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tricky Privilege Set inquery..

Status
Not open for further replies.

adamsoderqvist

Programmer
Sep 8, 2001
136
SE
Hello

I have an application that features 4 user levels. The lowest one is set read-only. Though: what I want is for the users in this level to be able to enter search parameters in a search-field (and not by entering find mode. Long story but that's necessary!) and then press a button saying "Search". BUT: This is undoable since the group is set to read-only.

So far I've set a calcuation for the specified field in the privilege set that says that editing is possible when:

Get(ActiveFieldName)="zFindField".

This works, but the problem is that this calculation is performed when entering the application, and is NOT recalculated at each time; resulting in that if the user exits the field and does something else, and then try to enter search parameters again - the user get a message saying that the field is not modifiable.

Does anyone have an idea on how to solve this..? - Cause I'm fresh out!

/Adam
 
1. Never let the user search on regular layouts.
2. Make 3 layouts : 1 for search with all the fields were they can search on, 1 for redirection when there are no records (error 400+), 1 for no match criteria.
Let the user navigate through the layouts with this script.
3. script your search with 3 scripts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top