Link to home
Start Free TrialLog in
Avatar of Vaibhavjoshi2005
Vaibhavjoshi2005

asked on

Cant build a link between unbound forms

I have created a big form in access. It has 1 main form at header and 13 pages which host various subforms. I want to add few more subforms and with that the form width will become very big. Since I don’t want this to happen I decided to add tab control within a page.
I then quickly learned that tab control within a page is not possible. So I need to create a separate subform with tab control and then add such subform onto a page. Which promptly I did. So now in a way I want to show records only in the table which belongs to primary key of top header level table.
When on this subform I tried to click on “Link master Fields” it gives me error “ Cant build a link between unbound forms”
How can I overcome this ?
Avatar of Vaibhavjoshi2005
Vaibhavjoshi2005

ASKER

In a way I am looking to link a

Main form --> page --> subform on page which has tab order --> table on one of the tab .
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If your main form is truly unbound (no recordsource set), then your master link will be a reference to a control on the parent form that contains the key to filter by (hidden text control, combo box, list control, etc).

 You would then only requery the sub-forms when the tab page it is on becomes visible.

 Your other option is to set the subforms recordsource each time the tab page becomes visible, but I think that's the wrong way to go.

Jim.
<Asside>

<I have created a big form in access. It has 1 main form at header and 13 pages which host various subforms. I want to add few more subforms>

...Every time I hear of a design like this, I sometimes wonder why the form cannot be simplified...

So while I do understand the allure of giving the user an expansive view of the data, I also keep in mind performance issues and the possible confusion this type of interface might present for some users...

Multiple levels of forms, and multiple subform will always slow down performance.
Then invariably questions about data "not updating" will arise as designs like this become more complex...

Again, just an aside...
;-)

JeffCoachman