在表单启动时禁用组合框为空,然后重新启用 [英] Combo box is empty when disabled at form startup then re-enabled

查看:46
本文介绍了在表单启动时禁用组合框为空,然后重新启用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我目前正在使用Access for Web,并且在第一次加载时尝试禁用表单上的所有字段,直到特定的组合框具有已更新。


我当前的设置是 


表单 - OnLoad


禁用所有字段


组合框 - AfterUpdate


启用所有字段


但是在我启用表单上的字段后,我发现我的其他组合框停止工作 - 箭头没有做任何事情。我想这可能是因为组合框在被填充之前被禁用了,所以我尝试刷新记录或
重新查询组合框,但似乎没有任何效果。


感谢任何帮助!


谢谢。




解决方案




如果还有其他语法框禁用了其他组合框?


< p style ="margin:0in; font-family:Calibri; font-size:11.0pt">按照你的步骤,我的其他组合框将工作于AfterUpdate。







Hi all,

I'm currently using Access for Web and have been trying to disable all fields on the form when it first loads, until a specific combo box has been updated.

My current setup is 

Form - OnLoad

Disable all fields

Combo box - AfterUpdate

Enable all fields

But after I enable the fields on the form, I've found that my other combo boxes stop working - the arrows don't do anything. I figured that it may be due to the combo box being disabled before it could be populated, so I've tried refreshing the record or requerying the combo boxes, but nothing seems to work.

Any help is appreciated!

Thanks.


解决方案

Hi,

If there are any other syntaxes disabled the other combobox?

Following your steps, my other combobox would work AfterUpdate.


这篇关于在表单启动时禁用组合框为空,然后重新启用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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