Dynamics AX 2012 - CommandButton按窗体插入和编辑 [英] Dynamics AX 2012 - CommandButton insert and edit by form

查看:297
本文介绍了Dynamics AX 2012 - CommandButton按窗体插入和编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了应该插入,编辑和删除usb CommandButtons的表单。
Propierity在命令字段中设置为新建,编辑记录和删除。

通常它可以工作,但它不安全,因为它是在不使用CommandButton的情况下编辑行。



我不知道如何让数据源或CommandButton属性只用按钮来编辑记录,而不是自动。

解决方案

好的...使用所有的属性组合有简单的方法:

只需在菜单项OpenMode到Viev并且编辑被禁用,直到用户使用正确的CommandButton。

I've created form that should insert, edit and delete row by usig CommandButtons. Propierity is set in Command field to New, Edit record and delete.

Generally it works, but its not safe, because it is editing rows without using CommandButton.

I don't know how to make data Source or CommandButton propierities to edit record only with button, not automatically.

解决方案

Ok...using all properties combination there is simple way:

Just set on Menu Item "OpenMode" to "Viev" and editing is disabled utill user use right CommandButton.

这篇关于Dynamics AX 2012 - CommandButton按窗体插入和编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆