Hello,
I am trying to create a query in VBA to extract data for a report.
I am using the "Like" operator for one of the variable fields.
It works correctly if you use the full value, however when using a wildcard it returns no records. Example below.
MOP - Works returning several records.
M* - returns no records.
I am getting very frustrated - I am sure its something simple.
I hope I have uploaded a screen dump of the SQL statement that is being produced.
I would appreciate any help.
ANP
I am trying to create a query in VBA to extract data for a report.
I am using the "Like" operator for one of the variable fields.
It works correctly if you use the full value, however when using a wildcard it returns no records. Example below.
MOP - Works returning several records.
M* - returns no records.
I am getting very frustrated - I am sure its something simple.
I hope I have uploaded a screen dump of the SQL statement that is being produced.
I would appreciate any help.
ANP