My Assistant
|
|
Apr 17 2012, 09:40 AM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 78 From: Poole, UK |
Hello,
Scenario: I have list of policies for different countries. What I have done so far is that I have designed a query for each country which will pull out the policies for that country. The report is bases on this query. However, this way I am creating lot of queries. What I want to do is design a query (and therefore the report) so that I can pull out the policies for a country by simply selecting a name from a drop down. Tables and Fields are as below: Table[Country] CountryID CountryName Table[Policy] PolicyID CountryID PolicyDetails I know I can use the paremeter in the Criteria field but if the list is big, this is not very conducive. I would like a drop down which will show all the available choices. After selecting one of the choices, I want the report to be created based on my selection. Could you please advise if this is possible and if yes, how to achieve this? PS -I am not very familiar with VBA. If you could explain how it could be done using Query design, that will be great. Many thanks. |
|
|
|
![]() |
Apr 18 2012, 04:02 AM
Post
#2
|
|
|
UtterAccess Enthusiast Posts: 78 From: Poole, UK |
Hi Joe,
Please see the relationship diagram, I was using the following tables - Jurisdiction, Junction_Jur_Rules, RulesMap, RuleDetail, L1Owners, Junction_RuleDetail_L1Owner. I have the query and the form in the attached DB. Really appreciate your help. if you need any info let me know. Thanks, SG
Attached File(s)
|
|
|
|
sg2808 How To Create A Report Using A Filter To Select A Input Apr 17 2012, 09:40 AM
theDBguy Hi,
Basically, you could try the following:
1. C... Apr 17 2012, 09:46 AM
RJD Hi: I was building a short demo for you when theD... Apr 17 2012, 09:59 AM
sg2808 Thanks a ton RJD and theDBguy for your kind sugges... Apr 17 2012, 10:20 AM
RJD You could just use the form in the demo to open th... Apr 17 2012, 10:29 AM
sg2808 I tried your suggestions, but I cannot see a dropd... Apr 17 2012, 10:40 AM
sg2808 Thanks Joe. Will try and will let you know. Apr 17 2012, 10:42 AM
RJD See the revised demo attached for a way to do what... Apr 17 2012, 10:46 AM
sg2808 Ah.. got it now.... thanks Joe and theDBguy. Awes... Apr 17 2012, 10:49 AM
RJD >>Can I use the similar logic if I have more... Apr 17 2012, 10:54 AM
sg2808 You guys made my day. Thanks a ton. Take a bow. Apr 17 2012, 10:57 AM
theDBguy Hi,
Joe is correct!
Good luck with your pr... Apr 17 2012, 11:17 AM
sg2808 Hi Joe,
I can see this working. Just one small is... Apr 17 2012, 12:01 PM
RJD Hi SG: Could be more than one thing - and it woul... Apr 17 2012, 03:48 PM
sg2808 Hi Joe,
I am having the same problem with a trial... Apr 18 2012, 06:11 AM
sg2808 Right... after some research....I found something:... Apr 18 2012, 06:46 AM
sg2808 Hi,
I can now create report based on the option t... Apr 18 2012, 07:28 AM
RJD Hi again SG: See the revised demo attached for a ... Apr 18 2012, 10:37 AM
azhar2006 Hi All
I use this code in the drop-down menus to... Apr 18 2012, 10:37 AM
sg2808 Hi Joe,
Thank you so much for your help.
I have ... Apr 19 2012, 05:16 AM
RJD Hi again SG: Your report used SQL in the record s... Apr 19 2012, 08:04 AM
sg2808 Awesome. This helps a lot. Thank you soooooooooooo... Apr 25 2012, 06:59 AM
RJD Hi SG: Always happy to help. Glad that works for... Apr 25 2012, 09:34 AM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th May 2013 - 09:09 PM |