D
DS
I'm using this SQL phrase that is working on Several forms, but n one
form I keep getting he dreaded 3134 Error. Any help appreciated.
Thanks
DS
Me.TxtTableID = Nz(DMax("[TableID]", "PCenter"), 0) + 1
Dim SectionSQL As String
DoCmd.SetWarnings False
SectionSQL = "INSERT INTO PCenter
(TableID,SectionID,TableName,TTypeID,Active)" & _
"Values(" & Forms!Easy12!TxtTableID & "," &
Forms!Easy12!TxtSectionID & " " & _
"'" & Forms!Easy12!TxtTableName & "'," & Forms!Easy12!TxtType & ","
& Forms!Easy12![ChkActive] & ")"
DoCmd.RunSQL (SectionSQL)
DoCmd.SetWarnings True
Me.ListTables.Requery
form I keep getting he dreaded 3134 Error. Any help appreciated.
Thanks
DS
Me.TxtTableID = Nz(DMax("[TableID]", "PCenter"), 0) + 1
Dim SectionSQL As String
DoCmd.SetWarnings False
SectionSQL = "INSERT INTO PCenter
(TableID,SectionID,TableName,TTypeID,Active)" & _
"Values(" & Forms!Easy12!TxtTableID & "," &
Forms!Easy12!TxtSectionID & " " & _
"'" & Forms!Easy12!TxtTableName & "'," & Forms!Easy12!TxtType & ","
& Forms!Easy12![ChkActive] & ")"
DoCmd.RunSQL (SectionSQL)
DoCmd.SetWarnings True
Me.ListTables.Requery