well this is a tough cookie this property, i just keep on getting a runtime error
with this can anyone tell me what is wrong with this code.
i don't understand why it keeps on saying runtime error with this because i want to add items in my productcombo.Ex plain to me whats happening here and why the runtime?
lee123
with this can anyone tell me what is wrong with this code.
Code:
Private Sub PRODUCTCOMBO_NotInList(NewData As String, Response As Integer)
If MSGBOX("THIS ISN'T IN THE LIST,DO YOU WANT TO ADD THIS?", vbYesNo + vbQuestion, "PLEASE RESPOND!") = vbYes Then
DoCmd.OpenForm "PRODUCTF", DATAMODE:=acFormAdd, WINDOWMODE:=acDialog, _
OpenArgs:=NewData
If ("PRODUCTF") Then
Response = acDataErrContinue
Docmd.Close acform, "productf"
Else
Response = acDataErrContinue
End If
Else
Response = acDataErrContinue
End If
End Sub
i don't understand why it keeps on saying runtime error with this because i want to add items in my productcombo.Ex plain to me whats happening here and why the runtime?
lee123
Comment