Hi there,
This is my first post so appologies if it's in the wrong forum.
I have an MS Query that downloads data from a SQL server. One of the fields contains (amonst other things) an agreement number and I want to be able to select the agreement number at run time.
The criteria I'm using looks like this:
Like ('%' + [Enter Agreement No] + '%')
The query runs but produces zero records.
If I change the criteria to read:
Like('%' + '75196' + '%')
The query runs and produces over 750 records.
Can somebody please tell me what is wrong.
Many Thanks
This is my first post so appologies if it's in the wrong forum.
I have an MS Query that downloads data from a SQL server. One of the fields contains (amonst other things) an agreement number and I want to be able to select the agreement number at run time.
The criteria I'm using looks like this:
Like ('%' + [Enter Agreement No] + '%')
The query runs but produces zero records.
If I change the criteria to read:
Like('%' + '75196' + '%')
The query runs and produces over 750 records.
Can somebody please tell me what is wrong.
Many Thanks