消失文本的奇怪问题 [英] Wierd issue with vanishing text

查看:64
本文介绍了消失文本的奇怪问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Access 2003中遇到了最奇怪的隐形文本问题。


我有几个未绑定的文本框引用子窗体中的字段。曾几何时,它们都运转良好,但现在它们已经形成了一些非常奇特的行为。文本框全部为空白,直到用户将鼠标悬停在一个特定的文本框上,该文本框用IIf评估子窗体中的字段并显示子窗体中的数据或N / A.只要鼠标点击该文本框,未绑定文本框中的所有文本都会神奇地出现!


不幸的是,文本全部是静态的 - 如果用户更改子窗体中的内容或者切换记录,主表单中的文本保持不变。


虽然数据输入人员对这种奇怪的行为回应着困惑的笑声,但我想知道导致问题的原因是什么。剪切和粘贴文本框控件没有帮助,也没有删除魔术鼠标控件。


我在这里查看prn和Adezii的帖子:(< a href =http://bytes.com/topic/access/answers/879154-weird-version-dependency-problemstarget =_ blank>怪异版本依赖问题)

这是同样奇怪的文本字段隐形问题,但没有提供任何答案。 :(

I''m having the strangest issue of invisible text in Access 2003.

I have several unbound textboxes that reference fields in a subform. Once upon a time, they all worked fine, but now they''ve developed some really peculiar behavior. The text boxes are all blank until the user mouses over one specific text box that evaluates a field in the subform with IIf and displays either the data from the subform or N/A. As soon as the mouse hits that text box, all of the text in the unbound text boxes magically appear!

Unfortunately, the text is all static - if the user changes something in the subform or switches records, the text in the main form remains the same.

Although the data entry folks are responding to this odd behavior with bemused laughter, I''d like to know what the heck is causing the problem. Cutting and pasting the text box controls doesn''t help, nor does deleting the magic mouse-over control.

I was looking at prn and Adezii''s postings here: (weird-version-dependency-problems)
which are equally wierd text field invisibility issues, but don''t provide any answers. :(

推荐答案

Hello topher23,是否有机会附加数据库或其中的一部分?
Hello topher23, any chance of Attaching the DB or a segment of it?


好的,我终于来了能够让它作为一个部分工作。我将违规表格设置为启动表格。你鼠标悬停的字段是表格标题区域中的差异。


像这样放在一起之后,突然移动长度字段正常工作,但是,其他字段都没有工作,直到将鼠标悬停在差异文本框上。奇怪。


请忽略任何丑陋的代码。我从一个不知道自己在做什么的人那里继承了这个数据库。虽然我已经在这里和那里修复片段,但我仍然遇到让我不知道他在想什么的片段。





Okay, I was finally able to get it to work as a part. I set up the offending form as the startup form. The field that you mouse over is "Difference" up in the header area of the form.

After putting it together like this, suddenly the Shift Length field works properly, but still, none of the other fields work until mousing over the Difference text box. Odd.

Please ignore any ugly code. I inherited this database from a guy who started out with no idea what he was doing. Although I''ve been fixing snippets here and there, I still run into bits that make me wonder what he was thinking.
附加文件
dbpart-2-18.zip (971.9 KB,95次观看次数)
Attached Files
dbpart-2-18.zip (971.9 KB, 95 views)


让我知道你如何使用ADezii。


如果你需要我,我会看看它。专家确实值得我付出额外的努力。
Let me know how you get on ADezii.

If you need me to I''ll have a look at it. Experts do deserve a little extra effort I feel.


这篇关于消失文本的奇怪问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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