I have a grid that I am using a SQL Select statement on for the recordsource. The problem is that the select statement is only returning the first record where the like condition is true. Here is my code:
SELECT * FROM COLLHEAD WHERE lastname_a LIKE lcLast INTO CURSOR Collhead
How can I get the SQL Select statement to return all the records where the like condition is true?
Any help would be appreciated.
-Kevin
SELECT * FROM COLLHEAD WHERE lastname_a LIKE lcLast INTO CURSOR Collhead
How can I get the SQL Select statement to return all the records where the like condition is true?
Any help would be appreciated.
-Kevin