mrmotocross
Programmer
Hello again. I am going crazy. I am trying to selectively, using an sql statement, retrieve certain records. I have the correct syntax, i have tried it as a query in access
and it works. Does there exist any error that can tell me why i can't selectively retrieve records?. The way i have the database set up? If i use the * (all) wildcard it retrieves all records. The connect string works. The sql staements i use all work if i use the * wildcard. I am comparing a string variable to the field in the table. This is selected from a combobox. I have compared the string field to a literal to see if is equal to it. for example:
If HoldActivity = "Programming". it does equal the literal. I have several records contains the word "programming" in the table but can't retrieve them if i use the 'Where' clause.
and it works. Does there exist any error that can tell me why i can't selectively retrieve records?. The way i have the database set up? If i use the * (all) wildcard it retrieves all records. The connect string works. The sql staements i use all work if i use the * wildcard. I am comparing a string variable to the field in the table. This is selected from a combobox. I have compared the string field to a literal to see if is equal to it. for example:
If HoldActivity = "Programming". it does equal the literal. I have several records contains the word "programming" in the table but can't retrieve them if i use the 'Where' clause.