在表单中创建新记录 [英] Create New Record in Form

查看:93
本文介绍了在表单中创建新记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过宏创建一个新记录,如下所示:


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


这篇关于在表单中创建新记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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