shanmugham
Programmer
Dear Friends,
i am new in vb
i am using vb6 and access 97
access db contains the fields
Gcno - numeric
Title - memo
resn - memo
i want to search the title consisting the word "Basic"
how to search
i used the command
searchtext = "asic" ' that is part word of basic
searchtext = Trim(searchtext)
ssql = "select * from MAIN where TITLE Like " & "'*" & searchtext & "'"
rs.Open ssql, con, adOpenKeyset, adLockOptimistic
MsgBox rs.RecordCount
it gives only Zero records
how i overcome this
pl. help
thanks in advance
shan
i am new in vb
i am using vb6 and access 97
access db contains the fields
Gcno - numeric
Title - memo
resn - memo
i want to search the title consisting the word "Basic"
how to search
i used the command
searchtext = "asic" ' that is part word of basic
searchtext = Trim(searchtext)
ssql = "select * from MAIN where TITLE Like " & "'*" & searchtext & "'"
rs.Open ssql, con, adOpenKeyset, adLockOptimistic
MsgBox rs.RecordCount
it gives only Zero records
how i overcome this
pl. help
thanks in advance
shan