Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2015
    Posts
    12

    Need help with auto-fill

    Hi everyone,




    Hoping that someone can help me as I am struggling to get my database to auto-fill. I basically want my raw material code (RM_CODE) to populate the following fields: "INGREDIENT", "RM MANUFACTURER", "RM SUPPLIER".


    I have named my fields the following:
    txtingredient
    txtrm_manufacturer
    txtrm_supplier
    cborm_code


    I have tried:
    Private Sub cboRM_Code_AfterUpdate()
    Me.txtINGREDIENT = Me.CBORM_CODE.Column(1)
    Me.txtRM_MANUFACTURER = Me.CBORM_CODE.Column(2)
    Me.txtRM_SUPPLIER = Me.CBORM_CODE.Column(3)
    End Sub


    any help would be appreciated!


    thx

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    That looks like it should work. Have you adjusted the properties of your combo? I would double check the following ...
    Column Count: 4
    Column Widths: 0,1,1,1

    These two threads should be merged
    https://www.accessforums.net/forms/a...tml#post299831

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

Similar Threads

  1. Auto fill
    By jojomac in forum Access
    Replies: 1
    Last Post: 10-10-2012, 09:57 AM
  2. Auto Fill
    By Scotty J in forum Forms
    Replies: 10
    Last Post: 11-21-2011, 10:08 AM
  3. Auto-fill
    By sidewayzalex in forum Database Design
    Replies: 49
    Last Post: 09-14-2011, 11:12 AM
  4. can't auto fill
    By chrisrach3 in forum Access
    Replies: 7
    Last Post: 09-12-2011, 04:41 AM
  5. Auto Fill
    By Kerrydunk in forum Forms
    Replies: 16
    Last Post: 04-26-2011, 12:15 AM

Tags for this Thread

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