daveinchicago
IS-IT--Management
Dim strSQL As String
If IsNull(Me.Text18) Then
MsgBox "Note not entered!"
Cancel = True
Exit Sub
Else:
End If
strSQL = "Insert Into dbo_COMPLIANCE_ACCT_NOTE(ACCT_CD, ACCT_NOTE) Values ('" & Me.cboAcName & "','" & Me.Text18 & "')"
Debug.Print strSQL
CurrentDb.Execute strSQL, dbFailOnError + dbSeeChanges
Me.sfRULENOTE.Form.Requery
using the above code I am getting a 3155 runtime error. not sure why. any help would be appreciated. thanks.
If IsNull(Me.Text18) Then
MsgBox "Note not entered!"
Cancel = True
Exit Sub
Else:
End If
strSQL = "Insert Into dbo_COMPLIANCE_ACCT_NOTE(ACCT_CD, ACCT_NOTE) Values ('" & Me.cboAcName & "','" & Me.Text18 & "')"
Debug.Print strSQL
CurrentDb.Execute strSQL, dbFailOnError + dbSeeChanges
Me.sfRULENOTE.Form.Requery
using the above code I am getting a 3155 runtime error. not sure why. any help would be appreciated. thanks.