BAG_Ass Absent Member.
Absent Member.
221 views

Unsaved changes question

Hi!

i wrote my own save procedure and made new DO for "save"-button.

It works fine.

But when i try to go next record i got pop-up window with "Unsaved changes in record"

which variable i should change to prevent pop-up this window?

Thanks.

0 Likes
2 Replies
DimitarPeychev Absent Member.
Absent Member.

Re: Unsaved changes question

Hi,

 

 You didn't specified in which module of SM has this happened but I found same issue by changes. It may help you. Please check the following:

 

Root cause:

in fc "cm3r" -> Calculations -> There are two lines in which display condition is set to "true". This means whenever a Change is displayed, these scripts will be executed: $cm3r.mode=NULL if (not null(contents($file7))) then (frms2.approval.comments in $file=comments in $file7) So "frms2.approval.comments in $file" is changed, then of course you get "You have unsaved changes" message. If I set these two display condition to "false", the prompt to save problem would not happen.

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting 🙂
0 Likes
Highlighted
BAG_Ass Absent Member.
Absent Member.

Re: Unsaved changes question

Yes.It is true.

But record realy changes and it is saved but SM server don`t know about it and asks.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.