[SOLVED] The macro BrowseTo jumps to the proper tab but display empty form
Hello,
I am working on a project in ACCESS 2010. I have recently tried to improve the project functionality by applying a Navigation Form.
There are two subforms that I wish they could interact with each other. The first form contains information related to a vacancy such as name of company. The second subform contains detailed information about all companies. My intention is to have a button in the fist form that I can click on and cause ACCESS to jump into the second subform whose record is supposed to be set to company assigned to the vacancy.
To accomplish the task, I read and found out that BrowseTo() function is dedicated to this kind of scenarios. This function does not work in my situation and I truly cannot understand why.
The main form name: frm_navigation
The name of the first form: frm_vacancies
The name of the second form: frm_Organizations
There also tables: tbl_vacancies and tbl_ogranizations
The macro looks like this:
Hello,
I am working on a project in ACCESS 2010. I have recently tried to improve the project functionality by applying a Navigation Form.
There are two subforms that I wish they could interact with each other. The first form contains information related to a vacancy such as name of company. The second subform contains detailed information about all companies. My intention is to have a button in the fist form that I can click on and cause ACCESS to jump into the second subform whose record is supposed to be set to company assigned to the vacancy.
To accomplish the task, I read and found out that BrowseTo() function is dedicated to this kind of scenarios. This function does not work in my situation and I truly cannot understand why.
The main form name: frm_navigation
The name of the first form: frm_vacancies
The name of the second form: frm_Organizations
There also tables: tbl_vacancies and tbl_ogranizations
The macro looks like this:
Code:
BrowseTo:
Object Type: Form
Objact Name: frm_Organizations
Path To Subform Control: frm_navigation.NavigationSubform
Where Condition: [tbl_organizations].[PR_ID]=[Forms]![frm_navigation]![NavigationSubform].[Form]![cb_org_name].[ControlSource]
Last edited: