It seems we have a similar goal. Here is what I did. I have a combo box that looks up file numbers, then when the user finds the file number with the matching data he wants...ie...AttyFileNo, Attention, Attorney,...(these are things that would go with the file number that he can then transfer to a new Order). I have a command button that says new order using this data (Something Like that) and has the following OnClick procedure to open my other form:
Private Sub cmdNewOrderFileNo_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmNewOrder"
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormAdd, acDialog, "Start" 'Start is my OpenArgs'
End Sub
Then my frmNewOrder forms OnLoad Event has the following code:
Private Sub Form_Load()
If Me.OpenArgs = "Start" Then
Me.txtAttention = Forms!frmStartOrder.Attention
Me.txtAttorney = Forms!frmStartOrder.Attorney
Me.txtAttyFileNo = Forms!frmStartOrder.AttyFileNo
End If
End Sub
Then I have another command button with the same OnClick code except I didn't put "Start" as an open arg.
It works great for me, and if I am understanding you correctly, then tinkering with that a little might be helpful. Hope it makes sense. I am not a programmer and have to find my own little ways around things sometimes.