-1

我想创建一个由 2 个表单组成的表单 - 一个是拆分的,另一个是常规的。

我分别创建了这两个表单。

Form 1 (regular): Salary information over the years

Salary 2007     Salary 2008...  Salary 2013

Form 2 (split form): Employee promotions and their dates

Date:    Title:    Event:    Salary:    Bonus:

我想让它们显示在一个表单上。一个在顶部,一个在底部。

请指教。

4

1 回答 1

0

您需要创建所需的单个表单(我们称它们为frmSalaryand frmPromotions,然后创建第三个表单(我们称它为frmEmployeeInfo)并将这两个表单添加为子表单。

它应该是这样的:

----------------------------------------------------
-   frmEmployeeInfo                                -
-                                                  -
-   -------------------------                      -
-   - frmSalary             -                      -
-   -------------------------                      -
-                                                  -
-   -------------------------                      -
-   - frmPromotions         -                      -
-   -------------------------                      -
----------------------------------------------------

Access 允许您将子表单中的数据“链接”到“父”表单中的数据。您可以在其中包含一般员工信息,frmEmployeeInfo并且可以使用该字段的值将两者链接到父frmSalary表单。frmPromotionsemployeeId

我建议你阅读一本关于 Access 的好书……我用过 John Viescas 的一本名为“Running MS Access”的书,但它已经很老了(尽管它很有用……Access 中的许多特性都是相同的现在就像 1997 年一样;-) )。

一个快速的谷歌查询将我带到这个页面: http://office.microsoft.com/en-us/access-help/create-a-form-that-c​​ontains-a-subform-a-one-to- many-表格-HA010098674.aspx

于 2013-06-28T15:29:23.577 回答