Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Setting form to view (not edit) mode in code

$
0
0

In brief, I have a form which normally opens up in edit mode.

Under certain circumstances (if a certain field is true), I want the form to open in view (not edit) mode.

Do I need to add code to the init method on the form, or the active method on the datasource? In either case, how do I programmatically toggle between edit and view mode? Also, how do I programmatically know if I am currently viewing or editing a record?

Thanks for any assistance,

Bill Yater

Blue Horseshoe Solutions, Inc


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>