If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Report on a selected field value
Hi,
I've been learning access by the seat-of-my-pants at work here, and I've come across a couple of stumbling blocks. I hope you all can help. This reports question is actually the simplest of my issues (I think), but my other issues are with forms and queries/tables, so I'll post elsewhere for them. Basically, let's say I have a report on Wal-Mart sales. Each sale in the Wal-Mart table is linked to a department, and to a location (separate tables with data about the departments and locations are joined). I currently have a report ordered by Location (header and footer), department (header and footer), and sale item (with various other data about it)--no header and footer on that one as it's part of the tabular section of the report. Now, each Wal-Mart location is inside one large report, called up by the switchboard item "Location Report." There is also a "Department Report," but I'm assuming the same answer will work for both... My boss wants each location to be in a separate report. I'm hoping I can make the switchboard button cause a query (or whatever the right function is) that makes you CHOOSE a location (or "all") from a drop-down list. Can you tell me how to make this happen? Second option is to have 9 (# of location) different "Location Reports," but that means 8 more switchboard items and 8 more reports in the database, and that's just for the location reports. Not ideal. Plus, I don't even know how to do this. Please help! |
#2
|
|||
|
|||
Report on a selected field value
I found this reference to be helpful in filtering reports. It shows how to
use a multi-select list box to filter a report to select several items at once, and open a report limited to those items. If your boss wanted to see all locations, he could select everything in the list box. Check this out: http://allenbrowne.com/ser-50.html This is just one option. Hope this helps... |
Thread Tools | |
Display Modes | |
|
|