longmatch
Programmer
- Nov 1, 2001
- 406
I am trying to delete some records based upon criteria. But it did not work for some reason. But the select clause works well. Don't know why.
Please me give a clue.
Thanks
haijun
Dim strSqlDelete As String
Dim admissionID As String
admissionID = txtAdmissionID.Text
strSqlDelete = "delete * from tblPtDiagnosis where admitID=0"
Adodc13.CommandType = adCmdText
Adodc13.RecordSource = strSqlDelete
Adodc13.Refresh
Please me give a clue.
Thanks
haijun
Dim strSqlDelete As String
Dim admissionID As String
admissionID = txtAdmissionID.Text
strSqlDelete = "delete * from tblPtDiagnosis where admitID=0"
Adodc13.CommandType = adCmdText
Adodc13.RecordSource = strSqlDelete
Adodc13.Refresh