Access Issue, querying Crosstab queries

gerryg

New Member
Joined
Aug 22, 2011
Messages
10
Hi,
Im currently encountering an issue with access and was wondering if anyone had any ideas
My Database is built on linked tables to an excel file which changes weekly. The excel file contains details of customer orders.
Im trying to build a report to detail what supplies i need to meet demand etc.
The reports required output is (Order_Ingredient, Supplier, Monday, Tuesday, Wednesday, Thursday, Friday, Total)
Order_Ingredient can contain different fields from the main orders table(i.e Drink, Snack etc)
The Orders table i am running querys off has the structure (OrderID, Date, Order_Name, Drink, Snack,).
I know i can run crosstab query's on the orders table to get the quantity for days of the week for each order_ingredient.
These come out with the structure (Order_Ingredient, 12/05, 13/05, 14/05, 16/05/ 17/05). I then run querys to add these details to a table which i run the report off.
The issue i am having is when the excel file in the back end changes (i.e. to next weeks), the date names obviously change in the crosstab queries,
which makes the queries on the crosstab queries obsolete.
If anyone has any recommentdations the would be great.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top