运行时错误'2763'设置日期/时间选择器值。 [英] Run-time error '2763' setting date/time picker value.

查看:52
本文介绍了运行时错误'2763'设置日期/时间选择器值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


我在表单上有几个dtpicker控件。如果用户更改了一个(在这种情况下就是我),_Change事件中的代码会设置另一个代码,以使其保持在逻辑范围内(在请求之前无法启动任务) )。


我知道我有这个工作,但不要忘记已经发生了什么变化。无论如何,它现在导致

展开 | 选择 | Wrap | 行号

解决方案

该死的!就是这样。


仍然不能相信Access VBA是如此愚蠢它不能改变一个属性一个隐藏的控件。 :(现在我将不得不重写我的所有代码以显示控件,更改它,然后重新隐藏它 - 但只有在它开始时才被隐藏.Grrr ......


< blockquote>你可以保持控件可见,但在顶部使用一个矩形并管理它的可见性以显示dtpickers。


Nic; o)



您可以保持控件可见,但在顶部使用矩形并管理其可见性以显示dtpickers。



Sneaky - 我喜欢它! :)


Hi all.

I have a couple of dtpicker controls on a form. When one is changed by the user (that''s me, in this case) the code in the _Change event sets the other one, to keep it within a logical range (can''t start a task before it''s requested).

I know I had this working, but don''t recall for certain what has changed. Anyway, it is now causing

Expand|Select|Wrap|Line Numbers

解决方案

Damn! That was it.

I still can''t believe Access VBA is so stupid it can''t change a property of a hidden control. :( Now I''ll have to rewrite all my code to show the control, change it, then re-hide it - but only if it was hidden to start with. Grrr...


You can keep the control visible, but use a rectangle on top and manage the visibility of that to reveal the dtpickers.

Nic;o)


You can keep the control visible, but use a rectangle on top and manage the visibility of that to reveal the dtpickers.

Sneaky - I like it! :)


这篇关于运行时错误'2763'设置日期/时间选择器值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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