字段为空时隐藏命令按钮 [英] Hide Command Button if Field Is Null

查看:60
本文介绍了字段为空时隐藏命令按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在表单上有一个命令按钮,用户可以用来浏览文件,用户可以选择该文件并存储指向该文件的超链接在该记录的txtfield中。


然后我有一个命令按钮,用户可以单击该按钮打开并查看相关文件。


一切正常。但是:


我想要一个命令按钮,允许用户在没有添加超链接的情况下查看要隐藏的文件。换句话说,超链接IsNull的txtfield。


这是我试过的没有运气:

Hi,

I have a command button on a form that the user can use to browse to a file and the user can select that file and a hyperlink to that file is stored in a txtfield for that record.

I then have a command button that a user can click to open and view the associated file.

This all works fine. BUT:

I would like the command button that allows the user to view the file to be hidden if no hyperlink was added. In other words the txtfield for the hyperlink IsNull.

Here is what I have tried with no luck:

展开 | 选择 | Wrap | 行号

推荐答案

试试这个...

Try this ...

展开 | 选择 | Wrap | 行号


谢谢你的回复......但没有运气。当字段为空时,命令按钮仍然可见。
Thank you for the reply... But no luck. Command Button still visible when field is blank.


添加我!参考以防万一按钮名称出现问题。

Add the Me! reference just in case there is a problem with the button name.

展开 | 选择 | Wrap | 行号


这篇关于字段为空时隐藏命令按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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