Showing results for 
Search instead for 
Did you mean: 

Form enhancement in "Add" mode

Former Member
0 Kudos

A form loads in "Add" mode and then the add-on adds some controls and sets their inital value. If the user then switches to find mode, or does a prev/next/last/first navigation an error message warns that the changes will be lost. Is there a way to prevent this message by putting the form back into the "clean" state it was in before the add-on modified it?

Thanks for any help.

Mel Dodd

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

As far as I know there are no way of getting rid of theis meesage on system forms... If it is your own for or your own items that cause the the changes then the AffectFormMode property might be your solution.

A little ugly but do-able workaround it to close the form with changes and open a new clean version (ActivateMenuItem)