Results 1 to 2 of 2
  1. #1
    Bkgabbert is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    1

    Fill textboxs with data from a query

    Hello,

    So i am trying to get data from a query into a textboxs. I have one form with two textboxs on it. One is for a part number the other is for a part description. I scan a barcode to get the part number into the part number textboxs, but then I want to use a query with the part number to get the part description into the other textbox. I can get it if I change the second textbox to a combo box, but then I have to choose it from the list. I must be missing something, can someone please help. I haven't used access in about 6years so maybe something has changed sice last time I used it.

    Thank you
    Ben

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    Options:

    1. Form RecordSource is a query that joins tables so the related info from parts table is available. Bind textboxes to fields of parts table and set properties Locked Yes and TabStop No.

    2. The part number control is a multi-column combobox with part number and part description. Textbox ControlSource expression refers to the column with the description.
    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.

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

Similar Threads

  1. Replies: 9
    Last Post: 03-16-2012, 01:03 PM
  2. Replies: 1
    Last Post: 12-21-2011, 02:11 PM
  3. Fill data entry textbox with variable
    By broecher in forum Forms
    Replies: 6
    Last Post: 11-18-2011, 07:54 PM
  4. Auto fill data (number) between tables
    By juli in forum Access
    Replies: 1
    Last Post: 08-31-2011, 10:41 PM
  5. Replies: 6
    Last Post: 04-14-2010, 11:03 AM

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