Solved

Query by form

Posted on 2013-02-06
2
295 Views
Last Modified: 2013-02-07
I have attached a database with 6 tables (main, county, amenities, disability access, mode and species) and I would like to create a form that allows me to:
 
                  select one or more counties from the county table and
                  select one or more amenities from the amenities table and
                  select one or more modes from the mode table

Once I have selected my criteria the form would return all of the waterbody names from the main table that meet the selection.  

I have no idea how to do this..can someone please walk me through the process. I don't really know VB, but I can try to learn it as I go...
FFWS.accdb
0
Comment
Question by:Coaster_brook_trout
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 250 total points
ID: 38860245
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
ID: 38860351
<I have no idea how to do this..can someone please walk me through the process. I don't really know VB, but I can try to learn it as I go... >
Then you picked a project that is not really at a "Beginner" level...

   "Hey I want to build a sports car, but I am new to Mechanics..."
;-)

See capricorn1, links first.

Also look into using a Multiselect Listbox to help collect the values to Filter
http://access.mvps.org/access/forms/frm0007.htm
http://access.mvps.org/access/reports/rpt0005.htm

Finally note that you will have to also consider AND and OR Logic and possibly create a way to set these operators...

See this very basic sample as a start
Access-EEQ-27743129-FilterWithTw.mdb
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
export sql results to csv 6 35
DCount Type Mismatch 2 22
Have a conversion issue with varchar to int in a SQL: Query. 1 30
2 IIF's in Access query 25 26
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question