Skip to main content
Solved

Commit auto-save after switching screens


rickwenning
Vanguard
Forum|alt.badge.img+1

Hi all,

Is it possible to commit the auto-save when all the field of a form are entered or when switching screens?

In our application, the auto-save commits every time one column is updated. This is linked to a handler and process flow, so every commit takes some database processing power and time. When users work fast (e.g. click an answer in a combo box and fill in a textbox afterwards), the commit hasn't processed the first action, sometimes resulting in loss of data.

In the GIF, you can see I entered 'Ja’ on question 4. When I select the next question, and go back to question 4, the answer is set to ‘Onbepaald’. As far as I know, this is due to the handler and process flow actions.  

 

I want to know if it is possible to only commit the auto-save when a next question/detail is selected, so the screen will only commit once.

Thanks in advance.

Kind regards,

Rick

Best answer by Tim de Lang

Hi Rick,

By default Universal doesn’t save when changing a record, it is on actions like changing the record.

It is possible to change this behavior. Do you have @auto_commit = 1 or something similar in your default?

Kind regards,

Tim de Lang

View original
Did this topic help you find an answer to your question?

2 replies

Tim de Lang
Moderator
Forum|alt.badge.img+4
  • Moderator
  • 91 replies
  • Answer
  • June 12, 2025

Hi Rick,

By default Universal doesn’t save when changing a record, it is on actions like changing the record.

It is possible to change this behavior. Do you have @auto_commit = 1 or something similar in your default?

Kind regards,

Tim de Lang


rickwenning
Vanguard
Forum|alt.badge.img+1
  • Author
  • Vanguard
  • 22 replies
  • June 12, 2025

Thanks ​@Tim de Lang, this was indeed the issue.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings