I
ifoundgoldbug
I have an action item datasheet with current work orders on it. When a
work order is clicked on i would like it to open up the work orders
form to the work order number that was clicked on. I have gotten the
work order number into a variable and the work order form open but I
can't get it to go to the proper record.
here is the code that I have thus far.
Private Sub Work_Order___DblClick(Cancel As Integer)
Dim wo As String
wo = [Form_action item].Work_Order__.Value
DoCmd.OpenForm "work order"
DoCmd.GoToRecord acDataForm, "Work Order", acGoTo, wo
End Sub
thank you for your time
Gold Bug
work order is clicked on i would like it to open up the work orders
form to the work order number that was clicked on. I have gotten the
work order number into a variable and the work order form open but I
can't get it to go to the proper record.
here is the code that I have thus far.
Private Sub Work_Order___DblClick(Cancel As Integer)
Dim wo As String
wo = [Form_action item].Work_Order__.Value
DoCmd.OpenForm "work order"
DoCmd.GoToRecord acDataForm, "Work Order", acGoTo, wo
End Sub
thank you for your time
Gold Bug