Okay, so I tried this:
It opens form, but the wo# is not autofilled, all I get is default value set by "FormsAcftJobsC omp".
I believe I have all the code in the right spot, it seems it is now a matter of sorting out the code itself? The "WorkOrder/WRI" is the field in the form being opened, FormAcftJobsCom p", that I need populated with the information from field "WO/WRI#'s" the user clicked in the subform.
Code:
Private Sub WO_WRI___s_Click()
DoCmd.OpenForm "FormAcftJobsComp", acNormal, , , acFormAdd, acWindowNormal, "<WorkOrder/WRI>"
End Sub
Private Sub Form_Activate()
Me![txtWO/WRI#'s] = Right(Me.OpenArgs, Len(Me.OpenArgs) - InStr(Me.OpenArgs, ","))
End Sub
I believe I have all the code in the right spot, it seems it is now a matter of sorting out the code itself? The "WorkOrder/WRI" is the field in the form being opened, FormAcftJobsCom p", that I need populated with the information from field "WO/WRI#'s" the user clicked in the subform.
Comment