如何显示表单或组合表单 [英] How to Display forms, or Combine forms

查看:65
本文介绍了如何显示表单或组合表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对MS Access有点新鲜,我在显示两个表单时遇到了麻烦。首先,我的程序将使用搜索按钮搜索几个不同的表。搜索表单有一个搜索字段,一旦按下搜索按钮,它应该打开多个表单,显示正确的结果。我现在能够正确地做到这一点,但是我在显示它们时遇到了问题。按下搜索按钮时,我执行一个简单的DoCmd.OpenForm。我使用这个命令打开多个表单,但它们都只是弹出。这意味着打开的最后一个表单覆盖了其余的表单,看起来有些丑陋。如果用户要看这个,他们将不得不浏览所有这些窗口。我想知道是否可以在屏幕上的某个位置显示所有这些表格并具有一定的尺寸。这是我的选择之一。我的另一个选择是以某种方式将所有表单组合成一个表单。由于所有这些形式都包含完全不同的数据,所以决定首先单独进行。

Hi, I''m somewhat new to MS Access and I''m having trouble with displaying two forms. Firstly my program is going to use a search button to search through several different Tables. The Search Form has a search field and once the ''Search'' Button is pressed it is supposed to open multiple forms showing the correct results. I''m able to do this correctly now, but I''m having a problem displaying them. When the search button is pressed I do a simple DoCmd.OpenForm. I open multiple forms using this command, but they all just pop up. This means the last form that is opened covers the rest of the forms, and it is somewhat ''ugly'' to look at. If a user is to look at this they''d have to look through all these windows. I was wondering if it was possible to display all these forms at a certain position on a screen and with a certain size dimension. This is one of my options. My other option is to somehow combine all the forms into one form. Since all these forms contain completely different data it was decided to do them seperately in the first place.

推荐答案

我还在调查,我在想如果我能以某种方式将论坛链接到我指定的表格,我应该能够做到这一点。有没有办法可以创建一个显示多个表的表单。
I''m still looking into it, and I was thinking if I could somehow link a forum to a table I specified I should be able to do this. Is there a way I can make a form which displays more than one table.


顺便说一句,我正在使用MS Access 2000。
I''m using MS Access 2000 by the way.


好吧,我终于找到了如何在一个中显示两个表单:SubForms。我猜不是那么难。但我还有一个问题。当我以前在Where条件中执行DoCmd.OpenForm命令时,我会设置某种条件来过滤结果。但是现在我的表单中有两个子表单。如何分别过滤每个子表单中的结果?基本上,我如何调用表单中的子表单。


任何帮助表示赞赏。


谢谢。
Ok, well I''ve finally found out how to display two forms in one: SubForms. Not really that hard I guess. But I still have one problem. When I used to do the DoCmd.OpenForm command in the Where condition I''d put some kind of condition to filter the results. But now there are two subforms in my form.. How do I filter the results in each of the subforms respectively? Basically, how do I call a subform within a form.

Any help is appreciated.

Thank You.


这篇关于如何显示表单或组合表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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