当字段接收焦点时,将显示“查找”对话框 [英] Find Dialog box to appear when field receives Focus

查看:64
本文介绍了当字段接收焦点时,将显示“查找”对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户点击某个字段时,我想要"查找"字段。对话框显示


空白字段,以便用户可以搜索他们想要的记录。当我尝试这个
DoCmd.Find时,它似乎期待一个特定的记录......

When the user clicks into a field I'd like the "Find" dialog box to appear with
blank fields so the user can search for the record they want. When I try the
DoCmd.Find it seems to expect a specific record...

我正在使用"On Got Focus";和VBA - 只是无法弄清楚什么是单一的简单线。 

I'm using the "On Got Focus" and VBA - just can't figure out what is likely a single, simple line. 

谢谢

推荐答案

您想要的行是

RunCommand acCmdFind





这篇关于当字段接收焦点时,将显示“查找”对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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