christie
04-15-2003, 04:07 AM
Hi,
i want to check if a value from my listview is really an integer:
strtemp = "0'" & lvMyList.ListItems(i)
If (CStr(CInt(strtemp)) <> Trim(lvMyList.ListItems(i))) Then
Check_Values = -1 'not an integer!!!!
Exit Function
End If
but this does not work:(
does anybody have idea's?
ps: loopuing through the listview is not a problem, only the check
i want to check if a value from my listview is really an integer:
strtemp = "0'" & lvMyList.ListItems(i)
If (CStr(CInt(strtemp)) <> Trim(lvMyList.ListItems(i))) Then
Check_Values = -1 'not an integer!!!!
Exit Function
End If
but this does not work:(
does anybody have idea's?
ps: loopuing through the listview is not a problem, only the check