Results 1 to 6 of 6
  1. #1
    omeara4pheonix is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    7

    Exclamation Forms for looking up information

    I am trying to create a form that will lookup and display information after a user input. Specifically I have a table with one field which is a list of lot numbers of products, and several other tables containing test results and their corresponding lot numbers, all lot number fields are related and have to be contained in the table dedicated to lo numbers. The user will input a lot number and the form would export test results, how would i go about doing this?

  2. #2
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    Quick and dirty way is to create a parameter query tied to an input text field on a form.

    In the query you would put in the lot number field and for the criteria put in "=[Forms]![frm_name]![txt_name]" (no quotation marks) where frm_name is equal to your form's name and text name is equal to the text element on the form.

  3. #3
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Stingaway is on target here. Here is a tutorial expanding on what he is suggesting.

    http://www.datapigtechnologies.com/f...earchform.html

  4. #4
    omeara4pheonix is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    7
    Ok I was working on doing that but how would I make the values returned by the query display in the form after a lot number has been entered?

  5. #5
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    You will have to create a subform with the recordsource the query. Insert the subform into your mainform as a datasheet.

  6. #6
    omeara4pheonix is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    7
    I tried that but it stays blank (the subform) even after the query runs. How do I make that data show?

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

Similar Threads

  1. Replies: 5
    Last Post: 01-16-2013, 03:48 PM
  2. Where can I get more information on this pls?
    By Buakaw in forum Programming
    Replies: 6
    Last Post: 02-12-2011, 04:39 AM
  3. Replies: 1
    Last Post: 01-04-2011, 05:04 AM
  4. Changing information display method in forms
    By mrbaggins in forum Forms
    Replies: 5
    Last Post: 10-21-2010, 06:00 AM
  5. Replies: 4
    Last Post: 04-01-2009, 08:49 PM

Tags for this Thread

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