本文介绍了显示/隐藏子表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个表格。主要表格将更多的是一个开关板,其中包含与一个项目相关的摘要信息。


每个项目有3个主要类别。所以摘要看起来像这样:

item 1 Item 2 Item3

Cat 1 100 20 5

Cat 2 1000 100 0

Cat 3 0 5 50


其中

项目1是目标

项目2是当前

项目3是预计的


每个类别都有一组子类别


我想要什么要做的是让用户点击Cat 1(ECT)的标签并有一个子表格显示具有Cat 1的子项目。在SubForm上将是一个隐藏子表单的按钮



所以基本上我需要一种方法从主窗体中将子窗体的visible属性设置为true。然后在子窗体中将其设置为false。

I am building a form. The main form will be more of a switch board with summary information related to one project.

Each project has 3 main categories. So the summary would look something like this:
item 1 Item 2 Item3
Cat 1 100 20 5
Cat 2 1000 100 0
Cat 3 0 5 50

Where
Item 1 is the goal
Item 2 is the current
Item 3 is the projected

Each Category then has a set of Sub Categories

What I would like to do is have the user click on the label for Cat 1 (ECT) and have a subform show that has the Sub Items for Cat 1. On the SubForm would be a button to hide the subform


So basically I need a way to set the visible property of a subform to true from the main form. And then set it to false from with in the subform.

推荐答案




这篇关于显示/隐藏子表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:13
查看更多