Solved

Query by form

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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…

840 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