dcsimg

Search:

Type: Posts; User: kenlow

Search: Search took 0.00 seconds.

  1. Run time error 3021, Either BOF or EOF is TRUE, or the current record has been delete

    Set rs = New ADODB.Recordset
    rs.Open "Select *from tableDross", con, 3, 3

    rs.Fields("ItemNo").Value = Label14.Caption ' this line is error
    rs.Fields("CheckItem").Value = Label5.Caption...
  2. Re: How to delete record data from database in listview

    Private Sub del_Click()
    confirm = MsgBox("Do you want to delete the Employee Record", vbYesNo + vbCritical, "Deletion Confirmation")
    If confirm = vbYes Then
    Set rs = New ADODB.Recordset
    ...
  3. How to delete record data from database in listview

    hi can someone help me how to delete selected data record from database in listview .
  4. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    Thank you sir.
  5. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    I tried this code but It didnt delete
  6. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    I tried this code but It didnt delete
  7. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    Please enlighten me sir and if you don't mind can you give me an example code
  8. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    Please enlighten me sir and if you don't mind can you give me example code
  9. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    ListView1.ListItems.Remove ListView1.SelectedItem.Index

    I tried this sir but it deletes all my duplicate data
  10. Replies
    15
    Views
    625

    Re: Run time Error 35603 Invalid Key

    I tried already that code It only deleted the first item not the selected item in listview
  11. Replies
    15
    Views
    625

    [RESOLVED] Run time Error 35603 Invalid Key

    Private Sub delBtn_Click()
    rs.Open
    Dim list As ListItem
    Set list = ListView1.ListItems.Add(, CStr(rs!Project_Name))
    confirm = MsgBox("Do you want to delete the Employee Record", vbYesNo +...
Results 1 to 11 of 11



Featured


Click Here to Expand Forum to Full Width