Hi,
I'm having a problem with my database, it is a split database, created in Access 2003.
I am trying to create a database for a hire company. I have created tables for the product categories, and the products. I need the ability to be able to add prospective orders to future dates. But this causes my main problem;
I would like to add the section to the 'Add Order' form, so that the user can enter a start date, end date, and then choose a category. At that point a list of available products appears.
I know there are various posts about scheduling, but I can't find one that fits this model. I also really don't want to create records for every possible day for the next xx years!
I was thinking along the lines of a table that holds the following fields for scheduled orders. We'll call it Orders "Category", "Product", "Start_Date", "End_Date".
And then a query (or possibly code) that takes the start date, end date, and category fields from the Add Order form, and checks them against the "Orders" table, then checks the results against all products in that category, and hides records that match, but returns the remaining list to the form.
(I hope that lot makes sense)
The end result is the user can select a category and a date period and the system returns available products.
If anyone could give me some guidance or point me in the right direction, I would be very grateful.
Many thanks,
Arron
I'm having a problem with my database, it is a split database, created in Access 2003.
I am trying to create a database for a hire company. I have created tables for the product categories, and the products. I need the ability to be able to add prospective orders to future dates. But this causes my main problem;
I would like to add the section to the 'Add Order' form, so that the user can enter a start date, end date, and then choose a category. At that point a list of available products appears.
I know there are various posts about scheduling, but I can't find one that fits this model. I also really don't want to create records for every possible day for the next xx years!
I was thinking along the lines of a table that holds the following fields for scheduled orders. We'll call it Orders "Category", "Product", "Start_Date", "End_Date".
And then a query (or possibly code) that takes the start date, end date, and category fields from the Add Order form, and checks them against the "Orders" table, then checks the results against all products in that category, and hides records that match, but returns the remaining list to the form.
(I hope that lot makes sense)
The end result is the user can select a category and a date period and the system returns available products.
If anyone could give me some guidance or point me in the right direction, I would be very grateful.
Many thanks,
Arron