Results 1 to 4 of 4
  1. #1
    the1gofer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    3

    lookup and prefill table fileds.

    I'm not exactly sure how to phrase this question, so I apologize in advance if i'm not as articulate as I should be.



    If I have table structure like this https://www.dropbox.com/s/5qicd17zyn...ture.PNG?raw=1. Is it possible to to have some fields flow from one to the other? If we start with submissions, as smaller subset with become bound. We already have some of the information we need in the submission table, so can we get that to flow over when filling out the bound table. For example, lets say we have a submission for bob smith. bob smith decides to bind, then when we are filling out the bind details, we do a lookup for names (I know how to do that) and the user selects bob smith. When bob smith is selected, then it pulls in the submission number.

    I realize i could run a query and get all that data in one place, but for the person entering the data it would be less prone to error if things just flowed.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    when user enters the customer, (via combo box, id or name) the afterupdate event triggers the append query to fill in the fields for that record.
    (the user does nothing)

  3. #3
    the1gofer is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    3
    Quote Originally Posted by ranman256 View Post
    when user enters the customer, (via combo box, id or name) the afterupdate event triggers the append query to fill in the fields for that record.
    (the user does nothing)

    Thank you. I'll take a look into that. I'm assuming it's a VB script?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    If appropriate this might be simpler:

    http://www.baldyweb.com/Autofill.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 03-13-2019, 04:18 PM
  2. Replies: 7
    Last Post: 01-12-2018, 09:26 AM
  3. Prefill records to a subform
    By benks in forum Programming
    Replies: 14
    Last Post: 05-29-2013, 06:52 PM
  4. Replies: 12
    Last Post: 11-18-2012, 03:53 PM
  5. Access 2010 - table with same fileds and rows
    By dkatorza in forum Access
    Replies: 3
    Last Post: 08-25-2011, 07:32 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