C
Cydney
I know this is going to seem very vague.
For some reason my query that is accessing a table is not using the criteria
that I've given it. I'm hoping you can help me with WHY.
The Course_Code is a text field. It's very simple.
I've done it a million times with other databases and queries. I can't
understand why there's a problem with this one. Can you give me some clues of
where to look for the answer? The source is an external database that I've
connected to using an ODBC connection.
I've tried using a criteria for other fields. One works (a number/text
combination). The other fields don't at all either. Like even a date field
that is formated as "Date/Time" I can't seem to get a ">" or "Between"
criteria to work. However, I've been able to use DateDiff and DateAdd to get
other information out of the date --and that seems to work. But when I put
criteria on them, it ignores me --for the most part. It does seem to be doing
some "screening", but I can't understand it's logic.
My SQL:
SELECT Training.*
FROM Training
WHERE COURSE_CODE like "T106*";
I'll be amazed if you can help me find the answer...
For some reason my query that is accessing a table is not using the criteria
that I've given it. I'm hoping you can help me with WHY.
The Course_Code is a text field. It's very simple.
I've done it a million times with other databases and queries. I can't
understand why there's a problem with this one. Can you give me some clues of
where to look for the answer? The source is an external database that I've
connected to using an ODBC connection.
I've tried using a criteria for other fields. One works (a number/text
combination). The other fields don't at all either. Like even a date field
that is formated as "Date/Time" I can't seem to get a ">" or "Between"
criteria to work. However, I've been able to use DateDiff and DateAdd to get
other information out of the date --and that seems to work. But when I put
criteria on them, it ignores me --for the most part. It does seem to be doing
some "screening", but I can't understand it's logic.
My SQL:
SELECT Training.*
FROM Training
WHERE COURSE_CODE like "T106*";
I'll be amazed if you can help me find the answer...