Results 1 to 3 of 3
  1. #1
    ZEEnon is offline Novice
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Sep 2010
    Posts
    1

    Automatically fill in a field based on another field

    Hi everyone, I need some help with an access 2010 form's subform.

    In this subform there is a field called 'Product Name' that I want to be automatically filled in based on what is put in the 'Part Number' field. There is only one 'Part Number' for every 'Product Name'.



    Currently when you enter the 'Product Name' the 'Part Number' for that product automatically appears. I would like it to do the same except vice versa.

    Both 'Product Name' and 'Part Number' and combo boxes.

    Thank you for taking the time to read this and I hope you can help!

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694

  3. #3
    hafaba is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    5
    On combo event : OnChange - write the code txtProductName = forms!subform!cboPartNumber ... if you give me details of your forms including the name of your combo, parent form and sub form, may be I can give the codes more precise .. Hope this will help you

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

Similar Threads

  1. Auto fill a field from multiple lookup
    By shahemaan in forum Forms
    Replies: 4
    Last Post: 06-13-2014, 04:00 PM
  2. Query Field Fill-In Automation
    By dmaach in forum Queries
    Replies: 1
    Last Post: 07-30-2010, 09:21 PM
  3. Replies: 4
    Last Post: 01-19-2010, 05:36 AM
  4. Auto-fill field not saving to table
    By aaid in forum Forms
    Replies: 1
    Last Post: 12-18-2009, 05:34 PM
  5. Autofill field based on autonumber field
    By frevilla in forum Forms
    Replies: 1
    Last Post: 09-11-2009, 02:50 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