Spiral Posted October 16, 2007 Posted October 16, 2007 Hello, I want users to open any/all layouts without the ability to edit any records except through the following buttons: Add;Edit;Save;Delete How can I do this? p.s. I don't want them to click outside the field and commit either. How can I do this? :help:
Vaughan Posted October 16, 2007 Posted October 16, 2007 Create an edit layout with global fields. The data in the globals only gets written back to the record when a save button is clicked. You'll have to lock down the access privileges and tightly control the navigation for this to work.
Ugo DI LUCA Posted October 16, 2007 Posted October 16, 2007 (edited) Well, There may be another way, it clearly depends on what i understood. Placing a Web viewer in the background would prevent any commit to the record. Then you could use your button to commit or revert the record, assuming you meant revert instead of delete. You could control validations ( commit ) through your own set of privileges as well, or you could create 2 sets of tab panels on the same layout, one with the wv, another without. Well, I don't like globals that much, but Vaughan's approach is robust enough to let you control what the user is doing. Edited October 16, 2007 by Guest
bcooney Posted October 17, 2007 Posted October 17, 2007 I see that you rate yourself as a beginner (Spiral), so I felt it necessary to chime in here and say, "what you want is not native FMkr behavior." That is, FM systems typically let a user edit a record without any Save button (save as you exit a field), or Cancel Edits button. Sometimes certain fields on a layout are only accessible by clicking an Edit button, but rarely an entire layout of fields. That said, it can be done, as described above, but it's a lot of extra work for the developer.
comment Posted October 17, 2007 Posted October 17, 2007 If you allow editing records via globals, you need also to resolve potential conflicts between two users editing the same record simultaneously.
Recommended Posts
This topic is 6248 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now