something strange happens when im trying to search the listview
if i have a word that is phone then i cant type those words in the listview p h o n e
dosnt let me search the correct word
i checked the length of the text its on 50 ,its enabled,and its not locked
this is my code:
this are the values
table name PriceList
PriceID Number
PriceName Text
PriceCost Currency
PriceRemarks Text
if i have a word that is phone then i cant type those words in the listview p h o n e
dosnt let me search the correct word
i checked the length of the text its on 50 ,its enabled,and its not locked
this is my code:
Code:
Private Sub TxtFind_Change()
Set rs = CN.Execute("SELECT * from PriceList WHERE PriceName LIKE '%" & RplS(TxtFind.text) & "%' ORDER BY PriceName")
LsVw.ListItems.clear
While Not rs.EOF
Set itm = FrmPriceList.LsVw.ListItems.Add(, , rs!PriceName, , "price")
itm.Tag = rs!PriceID
itm.SubItems(1) = FormatCurrency(rs!PriceCost)
itm.SubItems(2) = rs!PriceRemarks
rs.MoveNext
TxtFind.SetFocus
TxtFind.text = ""
Wend
End Sub
table name PriceList
PriceID Number
PriceName Text
PriceCost Currency
PriceRemarks Text