Can someone PLEASE show me how to set the property for each item in a combo box. Here is how I am addint items to the combo box and at the same time I want to store V_id in the TAG for each ITEM.

Then I want to read the TAG back when ever an item is clicked on. So please tell me how to read it back. I hope it could be very simple like Combobox.selecteditem.teg or something but since I never used it, I am not familiure with it. thanks.

VB Code:
  1. Private Sub Get_vehicles()
  2.    Dim sSQL As String, cn As ADODB.Connection, rs As ADODB.Recordset
  3.    Dim str As String, Ind As Long
  4.    
  5.    Set cn = New ADODB.Connection 'weve declared it as a ADODB connection lets set it.
  6.    cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
  7.       "Data Source= c:\vra\RentalManager.mdb" 'this is the connection string.
  8.    cn.Open
  9.    Set rs = New ADODB.Recordset
  10.    
  11.    sSQL = "SELECT V_id, Year, Make, Model, Color FROM Vehicles "
  12.    sSQL = sSQL & "ORDER BY Make, Model"
  13.        
  14.    Set rs = cn.Execute(sSQL)
  15.    
  16.    Do Until rs.EOF = True
  17.       str = Right(rs.Fields("Year"), 2) & " " & Trim(rs.Fields("Make")) & " "
  18.       str = str & Trim(rs.Fields("Model")) & " " & Trim(rs.Fields("Color"))
  19.      
  20.       HistCombBx.AddItem str
  21.       HistCombBx
  22.                  
  23.       If rs.Fields("V_id") = Vehicle_id Then Ind = HistCombBx.ListCount
  24.      
  25.       rs.MoveNext
  26.    Loop
  27.        
  28.    rs.Close
  29.    Set rs = Nothing
  30.    Set cn = Nothing
  31.    
  32.    HistCombBx.ListIndex = Ind - 1
  33. End Sub