I have a button with this code :
Private Sub button_Click()
..................
recordeset.open "SELECT * FROM tableuser WHERE username LIKE 'a*'"
...............
end Sub
Why the construct LIKE don'work ???
If I write the same string into a Query she work!!!!!!!
Why the correct query don't work if inserted into Visual Basic code (button_Click) ???????
Thank you.
Private Sub button_Click()
..................
recordeset.open "SELECT * FROM tableuser WHERE username LIKE 'a*'"
...............
end Sub
Why the construct LIKE don'work ???
If I write the same string into a Query she work!!!!!!!
Why the correct query don't work if inserted into Visual Basic code (button_Click) ???????
Thank you.