在表单中创建新记录

编程入门 行业动态 更新时间:2024-10-28 12:22:57
本文介绍了在表单中创建新记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试通过宏创建一个新记录,如下所示: MACRO NAME ACTION CreateNewX:On Click Go to Record 对象类型:表格 对象名称:表格的名称 记录:新 当我点击我的''创建新记录''按钮时,所有字段都清除,包括我的组合框,但是当我将新值放入组合框和选项卡或点击返回移动到下一个字段,组合框中的值消失,并且不保存记录。 帮助

I''m triying to create a new record via a macro, like so: MACRO NAME ACTION CreateNewX : On Click Go To Record Object Type : Form Object Name: Is the name of the Form Record: New When i click on my ''Create New Record'' button all the fields clear including my combo boxes, but when I go to put new values in the combo boxes and tab or hit return to move to the next field, the values disapear in the combo boxes and a record is not saved. Help

推荐答案

您是否在当前打开的表单中添加了新记录。 如果您要省略对象类型和对象名称。 Are you adding a new record to the currently opened form. if you are then leave out the Object Type and Object Name. 我正在试图通过宏创建一个新记录,如下所示: MACRO NAME行动 CreateNewX:点击进入记录 对象类型:表格 对象名称:是表格的名称 记录:新 当我点击我的''创建新纪录''按钮时所有字段清除包括我的组合框,但当我在组合框和选项卡中输入新值或点击返回以移动到下一个字段时,组合框中的值消失,并且不保存记录。 帮助 I''m triying to create a new record via a macro, like so: MACRO NAME ACTION CreateNewX : On Click Go To Record Object Type : Form Object Name: Is the name of the Form Record: New When i click on my ''Create New Record'' button all the fields clear including my combo boxes, but when I go to put new values in the combo boxes and tab or hit return to move to the next field, the values disapear in the combo boxes and a record is not saved. Help

您是否正在为此添加新记录目前打开的表格。 如果您要省略对象类型和对象名称。 Are you adding a new record to the currently opened form. if you are then leave out the Object Type and Object Name.

感谢您的回复。我确实为两个宏尝试了这个问题,但问题仍然存在。还有其他想法吗? -Dev1

Thank you for your response. I did try that for both macros and the problem still exists. Any other thoughts? -Dev1

感谢您的回复。我确实为两个宏尝试了这个问题,但问题仍然存在。还有其他想法吗? -Dev1 Thank you for your response. I did try that for both macros and the problem still exists. Any other thoughts? -Dev1

我应该使用''Set Value''动作吗?我为这两个组合框创建的宏? -Dev1

One quesiton should I use ''Set Value'' action? for the macros that I created for those two combo boxes? -Dev1

更多推荐

在表单中创建新记录

本文发布于:2023-08-06 04:34:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1310098.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表单   建新   中创

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!