E
EMILYTAN via AccessMonster.com
Is there anything wrong with my syntax?
It showed me error highting that you have cancelled the previous operations...
Private Sub cmdJobCompletion_Click()
strPartNumber = Nz(DLookup("W_QtyPending", "WIPRawDetails", "JobNumber='" &
Me.txtJobNumber & "' AND W_QtyPending<> 0 "))
Debug.Print strPartNumber
If strPartNumber <> 0 Then
MsgBox ("No job completion")
End If
End Sub
It showed me error highting that you have cancelled the previous operations...
Private Sub cmdJobCompletion_Click()
strPartNumber = Nz(DLookup("W_QtyPending", "WIPRawDetails", "JobNumber='" &
Me.txtJobNumber & "' AND W_QtyPending<> 0 "))
Debug.Print strPartNumber
If strPartNumber <> 0 Then
MsgBox ("No job completion")
End If
End Sub