E
Eddie Holder
Hi Guys - I hope someone can help. I have a database that hires out products,
and need help to try and find which products are available for hire between
date A and data b. Here it goes
I have a database with 2 tables.
Table 1 - this holds product information with each product having a unique
ID and belonging to a category, e.g. seats, chairs, tables, etc
Table 2 - This holds all the hired out products and the date from and the
date to when it's hired out, e.g. Product 1, in seats category is hired out
from the 01/01/09 to the 15/01/09
When I have a request for a new hire, I would like to be able to run a query
that will return which products can be hired based on the hire request date
from and request date to, e.g. I would like to hire a seat from the 10/01/09
to the 13/01/09.
As we will have multiple products in each category, I would like to search
by category to find which products are available. e.g. show me all seat
products that can be hired on the hire request date.
Any advice or help will be appreciated.
Thank you in advanced!
Eddie
and need help to try and find which products are available for hire between
date A and data b. Here it goes
I have a database with 2 tables.
Table 1 - this holds product information with each product having a unique
ID and belonging to a category, e.g. seats, chairs, tables, etc
Table 2 - This holds all the hired out products and the date from and the
date to when it's hired out, e.g. Product 1, in seats category is hired out
from the 01/01/09 to the 15/01/09
When I have a request for a new hire, I would like to be able to run a query
that will return which products can be hired based on the hire request date
from and request date to, e.g. I would like to hire a seat from the 10/01/09
to the 13/01/09.
As we will have multiple products in each category, I would like to search
by category to find which products are available. e.g. show me all seat
products that can be hired on the hire request date.
Any advice or help will be appreciated.
Thank you in advanced!
Eddie