Expand my Community achievements bar.

SOLVED

Save State Form - dirty when bar codes added on print.

Avatar

Level 1

Hi All,

I have a form that is in a saved state. When it is printed bar codes are added on the preprint and removed on the post print. This "dirtys" the form. I have tried many ways to reset the dirty flag so that the form is still in a save state but nothing has worked.

Has anyone ever been successful in doing this using "event.target.dirty" or any other way?

I can get app.execMenuItem("SaveAs"); to work but not app.execMenuItem("Save");

Thank you,
Barry

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I have an sample form for a similar case.

It uses a fuction to reset the dirty flag eveytime a 'animated' button changes it's color.

Have a look, it may be helpful for you

http://thelivecycle.blogspot.com/2009/11/control-appearance-of-save-changes.html

Nachricht geändert durch radzmar

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

I have an sample form for a similar case.

It uses a fuction to reset the dirty flag eveytime a 'animated' button changes it's color.

Have a look, it may be helpful for you

http://thelivecycle.blogspot.com/2009/11/control-appearance-of-save-changes.html

Nachricht geändert durch radzmar

Avatar

Level 1

Hi Radzmar,

Thank you for the assistance. I have managed to correct my form.

Barry