A
Anne
I have a double click event on a Jobsform, when the contractor combobox is
double clicked, it opens the contractor form.
How can I go directly to the contractorId which I double clicked on the
other form?
Here is my double click event:
Private Sub ContractorSelect_DblClick(Cancel As Integer)
On Error GoTo Err_OpenContractor2_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmContractor"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_OpenContractor2_Click:
Exit Sub
Err_OpenContractor2_Click:
MsgBox Err.Description
Resume Exit_OpenContractor2_Click
End Sub
Thanks,
Anne
double clicked, it opens the contractor form.
How can I go directly to the contractorId which I double clicked on the
other form?
Here is my double click event:
Private Sub ContractorSelect_DblClick(Cancel As Integer)
On Error GoTo Err_OpenContractor2_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FrmContractor"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_OpenContractor2_Click:
Exit Sub
Err_OpenContractor2_Click:
MsgBox Err.Description
Resume Exit_OpenContractor2_Click
End Sub
Thanks,
Anne