D
DS
For whatever reason this isn't UPDATING...
This gives me a 3144 Error
Dim UPSQL As String
DoCmd.SetWarnings False
UPSQL = "UPDATE tblPass SET tblPass.Type = " & Data & " " & _
"WHERE tblPass.PassID = Forms!frmSwitch!TxtPassID;"
DoCmd.RunSQL (UPSQL)
DoCmd.SetWarnings True
I tried this also...
This does nothing...
Dim UPSQL As String
DoCmd.SetWarnings False
UPSQL = "UPDATE tblPass SET tblPass.Type = " & Data & " " & _
"WHERE tblPass.PassID = Forms!frmSwitch!TxtPassID;"
DoCmd.RunSQL (UPSQL)
DoCmd.SetWarnings True
Data is a word....
Any help appreciated.
Thanks
DS
This gives me a 3144 Error
Dim UPSQL As String
DoCmd.SetWarnings False
UPSQL = "UPDATE tblPass SET tblPass.Type = " & Data & " " & _
"WHERE tblPass.PassID = Forms!frmSwitch!TxtPassID;"
DoCmd.RunSQL (UPSQL)
DoCmd.SetWarnings True
I tried this also...
This does nothing...
Dim UPSQL As String
DoCmd.SetWarnings False
UPSQL = "UPDATE tblPass SET tblPass.Type = " & Data & " " & _
"WHERE tblPass.PassID = Forms!frmSwitch!TxtPassID;"
DoCmd.RunSQL (UPSQL)
DoCmd.SetWarnings True
Data is a word....
Any help appreciated.
Thanks
DS