+ Reply to Thread
Results 1 to 10 of 10

Linking Queries to a form in Access

  1. #1
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43

    Linking Queries to a form in Access

    Hi Community,
    I'm working on a new project and the team uses forms in access. I am trying to learning how to build/link queries to forms. I'm just a beginner at this level. I'm looking for basic information for now.

    I am trying to build the form to return the birthday of the last name I selected. See attached.

    Thanks.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Linking Queries to a form in Access

    Nothing Attached.

    This link may prove helpful

    http://www.accessmvp.com/strive4peace/
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43

    Re: Linking Queries to a form in Access

    see attached examples.
    Attached Files Attached Files

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Linking Queries to a form in Access

    Having presented a word document (basically a picture of your form) is not helpful at all. Uploading your db showing your query and the form and describing what you want to happen would be more beneficial. I don't want to try and recreate your db. I don't have time. We are all volunteers here. Help us to help you by showing us sample data in real live database. You will need to be more specific in your request. Are you trying to get queries to run based upon information in your form/table? Are you trying to populate a form based upon a query? Really, what are your doing? How are you selecting the Name? Where?

  5. #5
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43
    Quote Originally Posted by alansidman View Post
    Having presented a word document (basically a picture of your form) is not helpful at all. Uploading your db showing your query and the form and describing what you want to happen would be more beneficial. I don't want to try and recreate your db. I don't have time. We are all volunteers here. Help us to help you by showing us sample data in real live database. You will need to be more specific in your request. Are you trying to get queries to run based upon information in your form/table? Are you trying to populate a form based upon a query? Really, what are your doing? How are you selecting the Name? Where?

    I tried to put the actual access database sample file but got error message .accdb not allowed. Which is why I put a picture. Since I don’t know forms very well. I tried to put a picture of what I’m trying to do.
    Upon further research. My quandary is the following;:
    How to write the query in forms to load the information in the desired unbound box. If I can get one field to work I’m sure I can figure the rest out. So do I just need to put the excel file with the data and you can help me with creating a form in access?

  6. #6
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43
    Quote Originally Posted by alansidman View Post
    Having presented a word document (basically a picture of your form) is not helpful at all. Uploading your db showing your query and the form and describing what you want to happen would be more beneficial. I don't want to try and recreate your db. I don't have time. We are all volunteers here. Help us to help you by showing us sample data in real live database. You will need to be more specific in your request. Are you trying to get queries to run based upon information in your form/table? Are you trying to populate a form based upon a query? Really, what are your doing? How are you selecting the Name? Where?
    I’m trying to populate form based on a query.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Linking Queries to a form in Access

    zip your file and then attach it. Before you zip it, make sure to sanitize if for confidential information. Run a Repair and compact and then zip it.

  8. #8
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43

    Re: Linking Queries to a form in Access

    Thank you Alan,
    For your help. Please see the attached zip file.
    Attached Files Attached Files

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Linking Queries to a form in Access

    Look at this link

    http://baldyweb.com/Autofill.htm

    Personally, I would not use a query, but have the data drawn directly from the table.

  10. #10
    Registered User
    Join Date
    11-09-2017
    Location
    NEW YORK, NEW YORK
    MS-Off Ver
    2010
    Posts
    43

    Re: Linking Queries to a form in Access

    Hi Alan,
    Thank you and sorry for the delayed response.
    I will look into that. This is all new, so I don't have a preference at this point. My data is based on results from queries. For example "How Many users are logged on from the three location. So to get that, I run the query to determine that
    25 users are from Houston, TX
    35 users are from Miami, FL
    40 Users are from Columbus, OH

    These results are then populated in the form.

    Is that capable from your suggestion.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Access form works with access Viewer but not full version of Access?
    By Shanyn in forum Access Tables & Databases
    Replies: 1
    Last Post: 10-22-2014, 01:14 PM
  2. Access Query, Based on queries, based on queries
    By Xcelguy in forum Access Tables & Databases
    Replies: 2
    Last Post: 11-13-2013, 10:15 AM
  3. [SOLVED] queries to sort be dates input into the form, access 2007
    By lengwer in forum Access Tables & Databases
    Replies: 4
    Last Post: 09-27-2013, 11:32 AM
  4. Replies: 0
    Last Post: 01-21-2013, 12:47 PM
  5. Embedded Access queries in Excel - if the database moves, how to update queries?
    By Paul_mcc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2012, 07:52 PM
  6. Linking Access Queries to Drop-down Menu in Excel
    By jpgoeth in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2007, 07:53 PM
  7. queries (sql) in ACCESS help
    By Sandra Aguilar in forum Excel General
    Replies: 4
    Last Post: 05-03-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1