Results 1 to 3 of 3
  1. #1
    mrsdeapsleap is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2018
    Location
    UK
    Posts
    1

    Use some kind of lookup to autofill form from data in previous field

    Hi all,<br><br>First time poster here, please be gentle!&nbsp; Used to know my way round Access, but that was a good few years ago...I am more of an Excel girl these days!<br><br>I have a table and form that records mobile phone issues (I have tried to attach, but when I upload the file, it doesn't show in the list?).&nbsp; As I won't be the only one using the database, I need the issue form to be as automated as possible.&nbsp; Where possible I have used drop downs on the form to ensure data is entered consistently.&nbsp; The issue I have is I need some kind of lookup, so that when I choose a specific handset type (model) from the drop down list, it then autofills in the form (and mainly the table), what type of phone that is; i.e. smart phone or basic phone.&nbsp; The table it needs to look at for this info is phone type.&nbsp; I did previously manage to get this working, but than had problems with the table not showing all the data in the table!<br><br>Any help will be gladly appreciated!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Sounds like:

    BaldyWeb - Autofill
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

    1. use multi-column combobox that includes the descriptive fields (can be hidden columns), then texbox has expression that references column of combobox by index, index begins with 0 so if the info is in column 2 its index is 1: =combobox.column(1)

    2. include the lookup table in the form RecordSource by joining to the data table, bind textboxes to descriptive fields and set Locked Yes and TabStop No

    3. DLookup() expression in textbox

    This descriptive info should not be saved to the data table, only the lookup table ID should be saved then retrieve related info in queries when needed.
    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. Autofill field from previous fields entered
    By jucooper1 in forum Forms
    Replies: 17
    Last Post: 12-31-2016, 11:29 AM
  2. Replies: 1
    Last Post: 02-14-2015, 02:29 AM
  3. Replies: 7
    Last Post: 02-10-2012, 08:08 PM
  4. Replies: 2
    Last Post: 07-14-2011, 09:23 AM
  5. Autofill from Previous Field
    By Dan Kenton in forum Forms
    Replies: 1
    Last Post: 02-16-2011, 11:15 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