a example of me after save and reload the listview :
Dim adoCon As Connection
Dim adoCmd As Command
Dim adoRS As Recordset
Dim cmdtext As String
Dim lstItem As ListItem
lstTitles.ListItems.Clear
' here we are building the SQL statement based upon the filter drop down
If cmbFilter.Text = "Selecteer Categorie" Then
cmdtext = "SELECT id, title, codetype FROM source "
Else
cmdtext = "SELECT id, title, codetype FROM source WHERE codetype='" & StuffQuotes(cmbFilter.Text) & "' "
End If
'connect to the database and retrieve the code
Set adoCon = CreateObject("ADODB.Connection"

adoCon.Open gblConnectString
Set adoCmd = CreateObject("ADODB.Command"

adoCmd.ActiveConnection = adoCon
adoCon.CursorLocation = adUseClientBatch
adoCmd.CommandText = cmdtext
Set adoRS = adoCmd.Execute
'loop through the recordset and add each item to the listview
Do While Not adoRS.EOF
Set lstItem = lstTitles.ListItems.Add(, , adoRS("title"

)
lstItem.Tag = adoRS("id"

'used for updating and deleting
lstItem.SubItems(1) = CStr(adoRS("codetype"

)
adoRS.MoveNext
Loop
lstTitles_Click 'reset the list
'make sure to clean up after ourselves
adoRS.Close
Set adoRS = Nothing
Set adoCmd = Nothing
adoCon.Close
Set adoCon = Nothing
Exit Sub Eric De Decker
vbg.be@vbgroup.nl
Licence And Copy Protection AxtiveX
Source CodeBook for the programmer