补丁功能可以接受全局变量
我有一个表格,允许用户编辑每个字段旁边的字段和按钮以“提交”更改。 “提交”按钮打开“弹出”窗口,以确认用户是否要更改字段。我有一个要执行补丁程序的“继续”按钮,但似乎无法弄清楚如何传递用户更改的列名和值。
我尝试将我的补丁方法存储在一个名为varpasspatch的全局varpashpatch中,如以下内容,set(varpasspatch,“ patch({columnName:newValue}”))然后将此变量传递到继续按钮的ONSELECT属性中,但似乎并未执行。 。
I have a form that allows users to edit fields and buttons beside each field to “Submit” changes. The “Submit” button opens “pop up” window to confirm if a user wants to change a field. I have a “Proceed” button that I want to execute the Patch but can’t seem to figure out how to pass the column name and value that the user changed.
I tried storing my Patch method in a global named varPassPatch like the following, Set(varPassPatch, “Patch({columnName : newValue})”) then pass this variable into the OnSelect property of Proceed button but it doesn’t seem to be executing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它不是很漂亮,但是我能够将变量传递到OnSelect属性的开关函数,然后根据传递的变量选择执行的补丁函数。
It’s not pretty but I was able to pass variables to the Switch function of the OnSelect property that would then choose which patch function to executr based on the passed variables.