Results 1 to 7 of 7
  1. #1
    Accu-Grind is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2015
    Posts
    25

    Creating a Form that pulls up data

    I need to create a form that when you type something into a field (lets say a name). The information related to that name from a table comes up. I don't want to create a report because I then need to add data to the form before making the report. I know this can be done because I've seen it in another access system we have. I've tried using subforms but they seem to only let me input data rather than extract.




    Thank you.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    I suggest you start by creating a SELECT query against your table. Do some experimenting to see exactly what a query can do. Then you could try using the query as a recordsource for your form.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Put a box for name, rename the box txtName.
    the query will be:
    select * from table where [name] = forms!frmFind!txtName

    Save the query
    a button on the form will open the query.

  4. #4
    Accu-Grind is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2015
    Posts
    25
    I'm confused. I have to make a query first? And where do I write select * from table where [name] = forms!frmFind!txtName?

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    In the query designer.
    You should get a book on the basics of Access. These are the building blocks of the whole program....tables, queries, forms.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850

  7. #7
    rebfein's Avatar
    rebfein is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Location
    So Cal
    Posts
    114
    Hello,

    I have something similar that I need to create. My boss said that he wants a form where a category type can be entered into a searchable text field and to press a button; then have the search results appear as list.

    The table is already ordered by category type, so how would I enter this information on a form? And would a drop down list be better than a search being that the users won't know that several minor categories are grouped?

    Thank you,

    Rebecca

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

Similar Threads

  1. Creating a search Field that pulls up a record
    By RapidRepairArnold in forum Access
    Replies: 3
    Last Post: 10-17-2012, 04:33 PM
  2. Replies: 10
    Last Post: 08-21-2012, 07:16 AM
  3. Form pulls totals from query
    By seth.murphine in forum Forms
    Replies: 3
    Last Post: 04-17-2012, 08:23 AM
  4. Form pulls info from 2 tables.
    By Jonpro03 in forum Forms
    Replies: 6
    Last Post: 07-20-2011, 11:33 AM
  5. Replies: 1
    Last Post: 02-13-2010, 12:44 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