Results 1 to 3 of 3
  1. #1
    timmygrover is offline Novice
    Windows Vista Access 2003
    Join Date
    Dec 2011
    Posts
    26

    A shove in the right direction?

    Howdy!

    So, here's what I want to do: I want to fill out a form that looks like this (for example)



    Fruit: ________ (say we enter apple)
    Color: ________ (say we enter red)

    and then, I want to have a button that you click and have a subform that runs a query and outputs "red apple"

    Obviously, this is a very basic example of what I'm trying to accomplish, and I know how to do this using a table and then a query (so an explanation of concatenation is not needed). What I don't know how to do is have both parts of the process (the initial entry and then the query) exist in the same form. I don't even know where to begin. SO if someone could give me a shove in the right direction, I would really appreciate it.

    In attempting this, I've run into the following problems:

    1. I have no idea how to make a button that will run a query
    2. I have no idea how to restrict the queries results to what I've entered into the form
    3. More things I can't think of right now

    Again, I realize that I'm being vague, but this is more because I've only got a vague understanding to use as a basis for my questions. Any help that will bring me closer to understanding would be greatly appreciated!

    Thanks in advance to all the access wizards who will respond!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    For parameterized query approach (query would be the RecordSource of form), review tutorials at http://datapigtechnologies.com/AccessMain.htm especially 'Build a Custom Filter in Your Form' and 'Creating a Basic Search Form' in Access Forms: Tips and Techniques section.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    timmygrover is offline Novice
    Windows Vista Access 2003
    Join Date
    Dec 2011
    Posts
    26
    Quote Originally Posted by June7 View Post
    For parameterized query approach (query would be the RecordSource of form), review tutorials at http://datapigtechnologies.com/AccessMain.htm especially 'Build a Custom Filter in Your Form' and 'Creating a Basic Search Form' in Access Forms: Tips and Techniques section.
    Thanks Super Moderator!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. New to Access, looking for direction!
    By jkenworthy in forum Access
    Replies: 1
    Last Post: 01-20-2012, 01:36 PM
  2. New and need some help and Direction!
    By OlneyFD in forum Access
    Replies: 0
    Last Post: 12-02-2011, 07:08 PM
  3. Novice in need of direction
    By garamon in forum Access
    Replies: 5
    Last Post: 10-24-2011, 11:24 AM
  4. Need Direction
    By sabrish72 in forum Programming
    Replies: 5
    Last Post: 06-08-2011, 09:25 PM
  5. Direction needed.....
    By EVS Director in forum Database Design
    Replies: 7
    Last Post: 06-22-2010, 05:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums