Solved

Query by form

Posted on 2013-02-06
2
293 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 119

Accepted Solution

by:
Rey Obrero 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now