Stevehewitt
IS-IT--Management
Hi Guys,
I'm a bit of a newbie when it comes to this so please bare with me.
I've got a standard Access query, which currenly has one criteria which is to list our product type. (Click)
All works fine and this is all in the one table, but I need it to do a bit more than just the one criteria.
Basically I need it to be something like:
I know that the above is incorrect as I don't really know SQL, however I need the query ensure that all results are listed as product type "CLICK" and either the start or the end or even both the dates are 31/03/2005. (It will actually be =Date() but for simplicity..!)
How do I go about this using the Access query builder? Like I said, I don't know SQL but I can't get the bloody thing to work in Access Query Builder!!!
Thanks in advance,
Steve.
I'm a bit of a newbie when it comes to this so please bare with me.
I've got a standard Access query, which currenly has one criteria which is to list our product type. (Click)
All works fine and this is all in the one table, but I need it to do a bit more than just the one criteria.
Basically I need it to be something like:
Code:
Select * FROM tablename WHERE "Product" = 'click' AND WHERE "StartDate" = '31/03/2005' OR WHERE "EndDate" = '31/03/2005';
I know that the above is incorrect as I don't really know SQL, however I need the query ensure that all results are listed as product type "CLICK" and either the start or the end or even both the dates are 31/03/2005. (It will actually be =Date() but for simplicity..!)
How do I go about this using the Access query builder? Like I said, I don't know SQL but I can't get the bloody thing to work in Access Query Builder!!!
Thanks in advance,
Steve.