Results 1 to 2 of 2
  1. #1
    ohrschool is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Mar 2016
    Posts
    1

    Auto populate field in Form - more complicated than the title suggests

    My knowledge is limited (my apologies).
    Is there a way to autopopulate a field in a form using a where condition in a macro?

    Once Field_1 is filled I need Field_2 to be populated with a value (taken from another table) using a macro.
    Can setValue be used with a where condition in order to determine the expression in setvalue?



    Thanks

  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
    Well, you could use DLookup(). Or perhaps this is appropriate?

    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. How to auto populate a form field
    By Ayiramala in forum Access
    Replies: 2
    Last Post: 05-09-2015, 04:12 AM
  2. Replies: 3
    Last Post: 10-03-2011, 02:33 PM
  3. Auto populate a field (without a form)
    By DonL in forum Access
    Replies: 1
    Last Post: 06-21-2011, 03:19 AM
  4. Complicated auto populate
    By duncthepunk in forum Forms
    Replies: 7
    Last Post: 03-17-2011, 10:37 PM
  5. Replies: 3
    Last Post: 10-05-2009, 07:22 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