简体   繁体   English

在MS Access中打开带有正确子表单的表单

[英]Open a form with the correct subform in MS Access

I have a form in Access that has navigation control which is made up of sub-forms. 我在Access中有一个窗体,该窗体具有由子窗体组成的导航控件。 The main form is just to house the navigation control. 主要形式只是容纳导航控件。 Is it possible to create an action button on another form that can open the main form but open the correct sub-form at the same time? 是否可以在另一个窗体上创建一个可以打开主窗体但同时打开正确的子窗体的操作按钮?

My issue is I can open the main form but the sub-form is only showing the first record in the table. 我的问题是我可以打开主窗体,但子窗体仅显示表中的第一条记录。 I would ideally like to click the button, open the main form and the correct sub-form at the same time. 理想情况下,我想单击按钮,同时打开主窗体和正确的子窗体。 Is that possible? 那可能吗?

Solution: Instead of using the navigation control feature, I used the tab control feature. 解决方案:我没有使用导航控件功能,而是使用了选项卡控件功能。 Which allows me to make tabs on a form, which I can then make a button to open that form and search for a record. 这使我可以在表单上创建选项卡,然后可以创建按钮以打开该表单并搜索记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用链接到子表单的文本框搜索 MS Access 表单上的多个字段 - Search Multiple fields on an MS Access form using a textbox linked to a subform ms access 2010 中基于同一个表的表单和子表单 - Form and subform based on same table in ms access 2010 MS Access - 将数据从子窗体传递到另一个窗体 - MS Access - Passing Data from a Subform to another Form 在MS Access中更新主表单时更新子表单的相关字段 - Update Related Fields of Subform When Updating Main Form In Ms Access 将焦点移动到 MS Access 中的子窗体时的主窗体记录验证 - Main form record validation when moving focus to subform in MS Access 连续形式的 MS Access VBA 代码在子表单中不起作用 - MS Access VBA code in continuous form not working while a subform 不能在MS Access中的“SubForm”对象上使用“Form”属性? - Cannot use the “Form” property on a “SubForm” object in MS Access? 对子窗体的Form属性的引用无效(ms Access 2007) - Invalid reference to Form property of subform (ms Access 2007) MS Access VBA-从另一个子表单过滤子表单(在主表单的导航中) - MS Access VBA- Filter subform from another subform (within a navigation from of a main form) Access 2016 子表单选择记录打开其他表单 - Access 2016 Subform select record to open other form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM