2007年的日期选择问题 [英] Date Picker in 2007 Problem in 2002

查看:91
本文介绍了2007年的日期选择问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Access 2002中开发了一个数据库。我有一个命令按钮,它会显示一个日历表单,用户可以选择日期和表格。它会把它放在一个txt盒子里。这个日历表格后面有很多代码。问题是,那些将Access 2007作为图标的用户放在我的命令按钮&他们会点击它&使用2007日历而不是我的日历,从而不激活我的代码。有没有办法阻止此功能出现?我的数据库是一个MDE文件,如果这有任何区别。


感谢您的任何建议。

I have developed a db in Access 2002. I have a command button that will bring up a calendar form which the user selects a date & it''ll put it in a txt box. I have a lot of code behind this calendar form. The problem is, those users that have Access 2007 an icon is placed in front of my command button & they will click it & use the 2007 calendar instead of mine, thereby not activating my code. Is there any way to prevent this feature from appearing? My db is an MDE file, if that makes any difference.

Thanks for any suggestions.

推荐答案

有一个格式选项卡下的属性名为显示日期选择器 - 将它设置为NEVER,它不会显示日期格式化文本控件。


因为你只有MDE我不相信你能做到。您将需要原始的源代码。


欢呼,
There is a property under the format tab called "Show Date Picker" - set it to NEVER and it will not show for date formated text controls.

Since you have just the MDE I don''t believe you will be able to do it. You will need the original source code.

cheers,


感谢您的建议。然而,你在2007年的版本中指的不是那个属性吗?您不能为Access程序改变它吗?这不是db相关的吗?几周前我确实试过了,但如果我没记错的话,我认为在更改该选项之前我必须先创建一个空白数据库,所以当我尝试使用2002 MDE数据库时,它对它没有任何影响。唯一能影响的数据库是你在2007年创建的数据库,对吗?顺便说一句,我是开发人员所以我有源代码....在交付给我的客户端之前我创建了一个MDE文件。


我已经做了很多搜索就此而言,却一无所获。所以你可以给我任何帮助,我当然感谢!
Thanks for your suggestion. However isn''t that property you''re referring to in the 2007 version? You can''t change that for the Access program can you? Isn''t it db related? I did try that several weeks ago, but if I remember correctly I think I had to create a blank db before I could change that option, so when I tried my 2002 MDE db it had no effect on it. The only db that would effect is the one you create in 2007, correct? btw, I''m the developer so I have the source code .... before delivering to my client I create an MDE file.

I''ve done a lot of searching on this, but have come up with nothing. So any help you can give me, I certainly appreciate!


我将创建一个2002年的数据库,其中包含你提到的功能,然后在2007年使用它,看看我能想出什么。我想知道是否通过代码,如果你遍历所有表格并更改我提到的属性,如果它将起作用。


我会尝试一些事情并回复你。


欢呼,
I will create a 2002 database with the features you mention and then play with it in 2007 and see what I can come up with. I am wondering if through code if you iterate through all forms and change the property I mentioned if it will work.

I will try some things and get back to you.

cheers,


这篇关于2007年的日期选择问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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