如何移动到代码中的新记录 [英] How do I Move to the New Record in Code

查看:91
本文介绍了如何移动到代码中的新记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的表单中包含命令按钮NEW RECORD,我希望能够在按下此按钮而不是通过鼠标

I already include in my form the command button NEW RECORD and i want to be able to add a new record only when i press this button and not through my mouse

推荐答案

将当前记录移动到新记录的代码是:
The code to move the current record to the New Record is :
展开 | 选择 | Wrap | 行号


要使新记录按钮成为转到新记录的唯一方法,您需要将表单允许添加属性设置为false。不幸的是,这会阻止NeoPa的代码运行,因此您需要在NeoPa的代码之前添加以下内容:
To make it so that your New Record button is the only way to go to the new record, you need to make your form''s Allow Additions property to false. Unfortunately, this stops NeoPa''s code from running, so you need to add the following right before NeoPa''s code:
展开 | 选择 | 换行 | 行号


我将以我的形式编写此代码?
where i m going to write this code in my form?


这篇关于如何移动到代码中的新记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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