hey
i get error type mismatch when i save something
i have to combobox with numbers in at and the combos values are text in the DB
the thing is it saves me the data in the listview and after gives me the error.
this is the line i get the error
i get error type mismatch when i save something
i have to combobox with numbers in at and the combos values are text in the DB
the thing is it saves me the data in the listview and after gives me the error.
this is the line i get the error
Code:
Private Sub CmbStart_Click()
Dim Str As String
Str = CmbStart.text
CmbEnd.clear
For I = CmbStart.ListIndex To 61
CmbEnd.AddItem Format(CDate(Str) + "00:15", "hh:mm") this line i get error
Str = CmbEnd.List(CmbEnd.NewIndex)
Next
CmbEnd.ListIndex = 0
End Sub