Crosstab query report

amigos

Active Member
Joined
Sep 23, 2003
Messages
407
Hi there,

I have Access report that is based on Crosstab Query. It shows all weeks of this year as columns headers and sales figures in these weeks. Now the problem is: when I designed report there were 43 weeks and I put 43 columns into report when I designed it. Now I have to update this every week (put one more column to report so it shows new week) - is there any way to automate this. Obwiously this query always shows current number of weeks, but how can I update number of columns in Access report?

thanks in advance for any help
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Sounds like a pain to update. Just a thought... if you changed the orientation so the weeks were row headers and the sales are column headers (or values), would that work? That way, additional weeks would just generate additional rows with no change needed for the column layout of the report.

EDIT -- maybe this link will help: HOW TO: Create a Dynamic Crosstab Report in Access 2002
http://support.microsoft.com/default.aspx?scid=kb;en-us;328320


Denis
 
Upvote 0
thanks for link SydneyGeek,
I already found it last Friday and it works fine.
so my problem is solved

I just thought that there might be some non-VBA way to do this, the idea of transposing query wouldn't work as number of employees changes as well,

Thank you for your time guys
 
Upvote 0

Forum statistics

Threads
1,223,479
Messages
6,172,496
Members
452,463
Latest member
Debz

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