向主窗体添加新记录时,子窗体不会显示。 [英] Subform won't show when adding a new record to main form.

查看:88
本文介绍了向主窗体添加新记录时,子窗体不会显示。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定发生了什么,但无法弄清楚为什么它在这一点上不起作用。我附上了数据库,所以任何愿意提供帮助的人都可以告诉我出了什么问题以及我可以做些什么来解决它。


感谢您提供的任何帮助。



Not sure what happened, but cannot figure out why its not working at this point. I attached the database so anyone willing to help might be able to tell me what went wrong and what I can do to fix it.

Thanks for any help provided.

附加文件
OEE Database.zip (1.10 MB,12 views)
Attached Files
OEE Database.zip (1.10 MB, 12 views)

推荐答案

DJRhino1175:

- 请记住,大部分使用都不会在没有首先要求的情况下使用d / l文件。我们中的许多人在工作休息期间这样做,并且通常有非常严格的关于下载文件的规则。


- 您在此数据库中有多个表单

您指的是哪种形式?

您不能指望此处的任何人通过您的申请来查找问题;帮助我们告诉我们哪些表格是问题,并在这种情况下提供一些关于它们如何相关的详细信息。
DJRhino1175:
- Please keep in mind that most of use will not d/l files without them being asked for first. Many of us do this during down time at work and there are usually very strict rules about downloading a files.

- You have several forms in this database
Which form are you referring to?
You cannot expect anyone here to wade through your application to find the issue; help us to help you by telling us which forms are the issue and in this case give a bit of detail about how they are related.


对不起ZMBD,如果我违反任何规则或道歉,我道歉协议。在开始页面上,单击显示OEE Entry表单的按钮。这打开了FrmLine。创建新记录时,子窗体应显示在注释框下方。它没有显示新的记录,但会显示旧记录。子窗体称为SubfrmDrawing。
Sorry ZMBD, I apologize if I broke any rules or protocols. On the start page click the button that says OEE Entry form. That opens "FrmLine". When creating a new record a subform should be showing below the comments box. it doesn''t show for a new record, but will show for an old record. The subform is called SubfrmDrawing.


窗体:FrmLine

事件:On_Current

调用模块MDLForms - 函数ReSizeSubForm

在新记录中没有相关记录;因此,
frm.subfrmDrawing.Height = TotalHeight

TotalHeight = 0

因此子窗体被隐藏。


我会稍微仔细看看......实验室计时器只是嗡嗡声:)
Form: FrmLine
Event: On_Current
Calls Module MDLForms - Function ReSizeSubForm
On a new record there are no related records; thus,
frm.subfrmDrawing.Height = TotalHeight
TotalHeight = 0
Therefor the subform is hidden.

I''ll take a closer look in a little bit... the lab timer just buzzed :)


这篇关于向主窗体添加新记录时,子窗体不会显示。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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