Jump to content

Prohibit Commiting Records?


This topic is 5286 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

No. Record commit is under the control of the user.

Option is to do the data entry in global fields then script the process of transferring the data from the globals to the real fields.

Note that I've just worked on a system that had a notes feature set up like this: I have just taken it OUT because a large percentage of edits were lost because the global wasn't being updated correctly. Users were closing the window instead of clicking on the save icon. I don't blame the users: the system was badly conceived and badly implemented.

Well, I seem to remember somebody mentioning they put a web viewer on the layout to prevent commits.

Posted

Hmm

I can see your point. Although in my case there is a modal window that you HAVE to press a OK or CANCEL that would inevitably let you know if you're going to save or not. I'll take the idea on GlobalS under consideration though, sounds promising to me.

IDEA: If I use the OnRecordCommit trigger (trap ActiveField > GoToField), do you think I could also accomplish this?

Posted

put a web viewer on the layout to prevent commits

The web viewer does not prevent commits - this is done by setting the layout to not "Save record changes automatically". The web viewer prevents the annoying message you get when you accidentally click outside a field.

In version 10 and higher, you can use a script triggered OnRecordCommit to control committing.

This topic is 5286 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.