If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Open a form from a subform
I have a form "Filters" that filters a subform "Find a Batch Cover Sheet
subform". I would like to be able to have another form open, "Find a Batch Cover Sheet", when I double click on the subform results. Here is what I have come with so far. Private Sub Batch_ID_DblClick(Cancel As Integer) DoCmd.OpenForm "Find a Batch Cover Sheet", , , "[Find a Batch Cover Sheet Subform]![Batch ID]=Forms![Find a Batch Cover Sheet]![Batch ID]" End Sub As you can see I want the form "Find a Batch Cover Sheet" to open with the [Batch ID] field that I double click on the "Find a Batch Cover Sheet Subform". Can anyone please help?? |
#2
|
|||
|
|||
Open a form from a subform
I forgot to mention that when I try to run the procedure it ask me to "Enter
the Parameter Value" for [Find a Batch Cover Sheet Subform!Batch ID] "Ryan" wrote: I have a form "Filters" that filters a subform "Find a Batch Cover Sheet subform". I would like to be able to have another form open, "Find a Batch Cover Sheet", when I double click on the subform results. Here is what I have come with so far. Private Sub Batch_ID_DblClick(Cancel As Integer) DoCmd.OpenForm "Find a Batch Cover Sheet", , , "[Find a Batch Cover Sheet Subform]![Batch ID]=Forms![Find a Batch Cover Sheet]![Batch ID]" End Sub As you can see I want the form "Find a Batch Cover Sheet" to open with the [Batch ID] field that I double click on the "Find a Batch Cover Sheet Subform". Can anyone please help?? |
Thread Tools | |
Display Modes | |
|
|