Solved

Query by form

Posted on 2013-02-06
2
288 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
Comment Utility
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
Comment Utility
<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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
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.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
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.

771 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

10 Experts available now in Live!

Get 1:1 Help Now