G
Guest
Here's what I'm trying to do: I have a small Access database. Records equal individual shipments with unique invoice numbers
Fields (apart from identifying ones) are yes/no checkboxes to indicate particular problems with the shipment. Shipments often have more than one problem, therefore, option boxes/toggles or drop-downs can't be used
If a department member wants to know, say, how many shipments have been problematic due to VendorA, he/she comes to me -- I set up a simple query with the "VendorA" field set with criteria "yes", link it to a report and there you go. If he/she wants to find out about a different problem I either set up a duplicate query and change the "VendorA" field for the other problem, i.e. "Recorder Ran Out", or just modify the original query. Yes, I could set up 14 separate queries, with 14 separate linked reports, but that seems silly.
What I'm trying to do is set up a generic query (linked to a generic report) so that a department user can just go to "Problem Report", click on it and have a dialog box pop up into which she types the field name (i.e. problem) OR (best case scenario) the user sees a dropdown box and they choose which problem they want to run the "yes" query on. Access goes only to that field name, filters for "yes" and returns a report with just that problem. I have the sneaking suspicion that this is going to involve a macro or VB and is not a simple control
Help on this would be greatly appreciated
Lee-ann
Fields (apart from identifying ones) are yes/no checkboxes to indicate particular problems with the shipment. Shipments often have more than one problem, therefore, option boxes/toggles or drop-downs can't be used
If a department member wants to know, say, how many shipments have been problematic due to VendorA, he/she comes to me -- I set up a simple query with the "VendorA" field set with criteria "yes", link it to a report and there you go. If he/she wants to find out about a different problem I either set up a duplicate query and change the "VendorA" field for the other problem, i.e. "Recorder Ran Out", or just modify the original query. Yes, I could set up 14 separate queries, with 14 separate linked reports, but that seems silly.
What I'm trying to do is set up a generic query (linked to a generic report) so that a department user can just go to "Problem Report", click on it and have a dialog box pop up into which she types the field name (i.e. problem) OR (best case scenario) the user sees a dropdown box and they choose which problem they want to run the "yes" query on. Access goes only to that field name, filters for "yes" and returns a report with just that problem. I have the sneaking suspicion that this is going to involve a macro or VB and is not a simple control
Help on this would be greatly appreciated
Lee-ann