JoseStack
JoseStack

Reputation: 167

How to prevent the X button on a form to save data

Whenever I click the (X) button on my form, it still keeps the data. I want to be able to close the form using the (X) button and not save any data. Does anyone have an idea of why is this happening?

Scenario:

Form1 has a button [enter car information] when I click the button, another form opens, Form2, where I can type all the car information. Once I click OK button, Form2 closes and Form 1 gets updated with Form2s information.

My problem:

If I click the X button on Form2, Form1 still updates with Form2s information. Is there a way to prevent this?

Thanks for all the help!

Upvotes: 0

Views: 2323

Answers (1)

Geoffrey DELMEE
Geoffrey DELMEE

Reputation: 782

It is the way AX is designed. Pressing 'Esc' key or 'Ctrl+Q' will quit without saving or ask you if you want to save your changes. But it will be only for the latests.

Upvotes: 0

Related Questions