Greetings!
The setup:
tbl_MAIN has all my data in it.
frm_MAIN MENU allows user to search based on five fields, and opens another form: frm_DETAIL which displays all the tbl_MAIN data on one screen. It's useful but it's kinda crazy and busy. It's good, I like it.
frm_MAIN MENU also opens up other TABULAR forms that display a subset of the tbl_MAIN data, based on user name.
The Problem:
I want to be able to click on a button when in one of these other TABULAR forms, and display that line of data in the form frm_DETAIL. I can enter a command button to open a form, but frm_DETAIL is linked to a query, which is linked to frm_MAIN_MENU. So it ignores the data I'm looking at and just uses whatever state frm_MAIN _MENU is in.
These TABULAR forms only need to carry one piece of criteria, a project number.
I would rather not build 5 version of frm_Detail as that seems painful and tedious and inelegant and... and…
Can I somehow make frm_DETAIL dynamically change it's query, depending on what form I happen to be in?
The Other problem:
I'm a bit of an Access noob. If you tell me "Oh just put in a cross-Maud Dib on the Widget module," I won't understand. Some specifics would help me. I'm not averse to VBA, but would rather not if I don't have to.
Thank You for considering my problem.
The setup:
tbl_MAIN has all my data in it.
frm_MAIN MENU allows user to search based on five fields, and opens another form: frm_DETAIL which displays all the tbl_MAIN data on one screen. It's useful but it's kinda crazy and busy. It's good, I like it.
frm_MAIN MENU also opens up other TABULAR forms that display a subset of the tbl_MAIN data, based on user name.
The Problem:
I want to be able to click on a button when in one of these other TABULAR forms, and display that line of data in the form frm_DETAIL. I can enter a command button to open a form, but frm_DETAIL is linked to a query, which is linked to frm_MAIN_MENU. So it ignores the data I'm looking at and just uses whatever state frm_MAIN _MENU is in.
These TABULAR forms only need to carry one piece of criteria, a project number.
I would rather not build 5 version of frm_Detail as that seems painful and tedious and inelegant and... and…
Can I somehow make frm_DETAIL dynamically change it's query, depending on what form I happen to be in?
The Other problem:
I'm a bit of an Access noob. If you tell me "Oh just put in a cross-Maud Dib on the Widget module," I won't understand. Some specifics would help me. I'm not averse to VBA, but would rather not if I don't have to.
Thank You for considering my problem.