=TB=
Registered User.
- Local time
- Today, 18:00
- Joined
- Aug 13, 2002
- Messages
- 68
I made some changes to a database I use in work while at home this weekend. Everything worked fine at Home but when I use the DB in work I am getting an error in the code I added.
Here is the code:
Private Sub Form_Load()
Dim intResponse As Integer
If DCount("SumOfQty", "qryPickLocation") < 1 Then
intResponse = MsgBox(" Sorry No Stock Available for the Item You Have Selected", vbInformation + vbOKOnly, "No Stock")
DoCmd.Close
[Form_Outgoing Transactions].Item_Number = ""
End If
End Sub
Can anyone throw some light on this for me.
Thankyou in advance.
Here is the code:
Private Sub Form_Load()
Dim intResponse As Integer
If DCount("SumOfQty", "qryPickLocation") < 1 Then
intResponse = MsgBox(" Sorry No Stock Available for the Item You Have Selected", vbInformation + vbOKOnly, "No Stock")
DoCmd.Close
[Form_Outgoing Transactions].Item_Number = ""
End If
End Sub
Can anyone throw some light on this for me.
Thankyou in advance.