MS Access运行时2010 SP2中的日期字段/数据损坏错误 [英] Date field /data corruption bug in MS Access runtime 2010 SP2

查看:127
本文介绍了MS Access运行时2010 SP2中的日期字段/数据损坏错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了一个错误,即用户使用某个月份过高的日期字段输入日期字段会导致UI更改月份,而不会发出任何警告或其他用户反馈,以使他们了解更改

I have found a bug whereby a user typing into a date field using a day number that is too high for a given month gets the month changed by the UI without any warning or other user feedback to make them aware of the change

例如输入  '2016年11月31日'获取日期自动更改为
'31 / 12 / 2016'因为11月没有第31天。 正确的行为应该是提示用户提供正确的日期,或者至少应该提示任何自动更正的日期数字过高的日期应该被提示,默认为
最高的正确日期月份(在这种情况下是2016年11月30日) - 完全没有改变月份。

For example typing '31/11/2016' gets the date automatically changed to '31/12/2016' because there is no 31st day in November.  Correct behaviour would have been to prompt the user to supply a correct date, or at the very least, any auto correct for day numbers that are too high in a date should be prompted, and default to the highest correct day in the month (in this case 30/11/2016) - not change month altogether.

除非用户足够幸运要注意当时的更改,使用此自动更改日期生成的任何报告
将包含整月的额外数据。

在我的情况下,这实际发生了,耗费数千美元的多付税费。

In my case this actually happened, costing me thousands of dollars in overpaid tax.

任何第三方应用程序开发人员都无法处理此问题,因为在开发人员逻辑运行之前Microsoft会更改日期输入。   

There is no way for any 3rd party application developer to deal with this, as the date input is changed by Microsoft before the developer logic is run.  

我们如何才能获得微软解决这个问题?

How can we get Microsoft to fix this?

推荐答案

对于它的价值,我无法通过完整安装Access 2010 SP2来重现这一点。 在日期字段中输入11/31/2016或31/11/2016会导致Access显示错误对话框,并且需要我修复无效条目。 对不起,但是,我
没有安装运行版本的副本来测试。 
For what it's worth, I can't reproduce this with a full installation of Access 2010 SP2.  Entering 11/31/2016 or 31/11/2016 in a date field causes Access to display an error dialog, and it requires me to fix the invalid entry.  I'm sorry, but I don't have a copy of the runtime version installed to test with. 


这篇关于MS Access运行时2010 SP2中的日期字段/数据损坏错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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