Results 1 to 3 of 3
  1. #1
    Chris2810 is offline Novice
    Windows 8 Access 2016
    Join Date
    Feb 2016
    Location
    Missouri, United States
    Posts
    9

    Using form to enter information into a table

    Hello all.



    I have a database for keeping track of supplies inventory. A form is used to enter new inventory transactions such as if a case of soap was transferred from storage to a store.

    The user isn't going to know the item number off the top of their head. So what they will do is select the description from the description combo box. I want the item number associated with that description to automatically populate so that it is stored in the transaction table with the rest of the information regarding that transaction.

    I wasn't really sure what the best way to do this would be so I used the Dlookup function in a text box on the form that looks up the item number from the items table where the description selected on the form = the description in the items table. So now when the user selects the description, the text box automatically populates with the appropriate item # which is what I wanted. The problem is that when the data is entered into the transactions table, the item # is omitted.

    So how do I create a form that will enter data into the Transactions table and get the item # field to automatically populate when the corresponding description field is entered?

  2. #2
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    sounds like a combo box would do what you want. there is a lot of information out there on this subject just do a search. here's one i found real quick.
    https://www.youtube.com/watch?v=rSPS24EfijI

  3. #3
    Chris2810 is offline Novice
    Windows 8 Access 2016
    Join Date
    Feb 2016
    Location
    Missouri, United States
    Posts
    9
    That was exactly what I needed!!!! THANK YOU!!!!

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

Similar Threads

  1. Cannot enter information in certain fields
    By AccessNewbie123 in forum Forms
    Replies: 9
    Last Post: 08-07-2015, 01:13 PM
  2. Replies: 20
    Last Post: 02-24-2015, 10:43 AM
  3. Replies: 1
    Last Post: 08-17-2013, 02:35 AM
  4. Replies: 5
    Last Post: 05-08-2012, 01:26 PM
  5. Replies: 1
    Last Post: 06-02-2011, 04:11 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