Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Query by form

Posted on 2013-02-06
2
Medium Priority
?
317 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 1000 total points
ID: 38860245
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 1000 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

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

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

Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
When we develop an application in Ms Access 2016 we should also try to protect the queries, macros and table links. I know I may not have a permanent solution but for novice users, they will not manage to break your application. Below is the detail …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

580 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