View Single Post
  #1 (permalink)  
Old 08-24-2008, 05:48 AM
ceaser's Avatar
ceaser ceaser is offline
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default Delete from SQLlite

Hi

Can somebody please tell me what is wrong with the following coding

'erase a job
i=Msgbox ("Are You Sure To Erase The Selected Job? ","Erase Job",cMsgBoxYesNo,cMsgBoxQuestion)
If i=6 Then
text="Delete From Jobs Where JobName = " & quote & ListJobs.Text & quote
'Msgbox (text)
cmd.CommandText=text
cmd.ExecuteNonQuery
con.Close
End If

I am trying to delete a jobname from the SQLLite database.

Thanks
Michael
Reply With Quote