I have a program where I initially used an ADO data control with a grid. When I used a SQL LIKE operator it works and displays the expected data in the grid. Because of the end user (i.e., '98, ME, etc.) I cannot use the ADO data controls because info does not show up on the grid. So, when I use the same exact SQL string:
strSQL = "SELECT * FROM SLPT WHERE DESCRIPTION LIKE '" & "%" & searchword & "%" & "'"
Data1.DatabaseName = (App.Path & "\ELPALS.mdb"
Data1.RecordSource = strSQL
Data1.Refresh
with a DAO data control (the default one that comes with VB 6), I cannot get any data to show on the grid.
Does any one have any suggestions? I would like to go with just ADO statements but Windows ME does not respond to them well.
strSQL = "SELECT * FROM SLPT WHERE DESCRIPTION LIKE '" & "%" & searchword & "%" & "'"
Data1.DatabaseName = (App.Path & "\ELPALS.mdb"
Data1.RecordSource = strSQL
Data1.Refresh
with a DAO data control (the default one that comes with VB 6), I cannot get any data to show on the grid.
Does any one have any suggestions? I would like to go with just ADO statements but Windows ME does not respond to them well.