C
channell
I truly Apologize for this, but I can't find an answer for this at all.
Ok, I posted a similar question, but I am not sure I explained myself enough
in order to get the correct answer.
I have three forms I am working with. I have a main form with two subforms
in it. I have a combo box on the main form that will search through
employees and it pulls up all their records on the subforms. The two
subforms are based off the same information but not the same query (I may
need to do that though, please let me know). Subform (a) is a more detailed
form with all the information I need. It is in "single form view". Subform
(b) is an abbreviated version of Subform (a) and is in "continuous forms
view". They are on separate tabs. I want to place a button, or put code in
one of the text boxes (whichever is easier, but preferably a button) on each
record of subform (b) that when selected, returns that matching record on
subform (a).
I am using the code:
Private Sub Command72_Click()
DoCmd.OpenForm "f6135MAINENTRYEASY", , , "[6135 ID] = " & Me.[6135 ID] &
""
End Sub
But what that does is open another window, but it does pull up the correct
record. I need it NOT to open a separate record, but only pull up the
correct record. That's all.
Thank you very much in advance for any help that you assist me with. I
greatly appreciate it.
Ok, I posted a similar question, but I am not sure I explained myself enough
in order to get the correct answer.
I have three forms I am working with. I have a main form with two subforms
in it. I have a combo box on the main form that will search through
employees and it pulls up all their records on the subforms. The two
subforms are based off the same information but not the same query (I may
need to do that though, please let me know). Subform (a) is a more detailed
form with all the information I need. It is in "single form view". Subform
(b) is an abbreviated version of Subform (a) and is in "continuous forms
view". They are on separate tabs. I want to place a button, or put code in
one of the text boxes (whichever is easier, but preferably a button) on each
record of subform (b) that when selected, returns that matching record on
subform (a).
I am using the code:
Private Sub Command72_Click()
DoCmd.OpenForm "f6135MAINENTRYEASY", , , "[6135 ID] = " & Me.[6135 ID] &
""
End Sub
But what that does is open another window, but it does pull up the correct
record. I need it NOT to open a separate record, but only pull up the
correct record. That's all.
Thank you very much in advance for any help that you assist me with. I
greatly appreciate it.