valvore92
valvore92

Reputation: 317

Cancel changes in a form CTRL+Q in x++ dynamics ax

Can I write code in x++ which have the same function as shortcut ctrl+q (cancel saving record in a datasource)? How to abort saving record in database?

Upvotes: 0

Views: 641

Answers (1)

Aliaksandr Maksimau
Aliaksandr Maksimau

Reputation: 2281

You can try the following piece of code:

formRun.task(264); 

or

#Task

formRun.task(#taskCtrlQ);

Upvotes: 1

Related Questions