Results 1 to 5 of 5
  1. #1
    fasterthanyours is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Dec 2010
    Posts
    3

    Lookups - Type a value in 1 field and another field updates

    So I used to know how to do this, but I haven't written an access database in about 10 years. I kill at Excel, but I new some help.



    So I have this form RMA which puts data in the RMA Table.

    I have a Parts_List table that contains 2 fields Part_Number and Description.

    When someone times the Part_Number in the Part_Number field on the RMA form, I'd like the description to auto populate so they don't have to type it.

    Also I would like the Part_Number field to use the Part_Number's from the Parts_List table, so they get the list of part numbers as they begin typing in a partial on the part number.

    Uh crap I can't upload the accdb file. Someone tell the admin to add that to the list of acceptable files.

    Oh well...Any help is better than where I'm at now.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    in the OnChange or AfterUpdate (or whatever you choose) run a Dlookup(field,table,criteria = me.txtpartNo) then display that value in the description textbox.

  3. #3
    fasterthanyours is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Dec 2010
    Posts
    3
    Thanks But now I'm completely lost. I've attached the mdb version of the database. Could you please have look.

    I've seriously been out of Databases for 10 years and it's all foreign at this point.

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    i dont have access to Access right now. I'd have to go till next week to look at it. What I mentioned would be written in VBA and run.

  5. #5
    fasterthanyours is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Dec 2010
    Posts
    3
    Ok, I'll take another go at it. Thanks.

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

Similar Threads

  1. Input mask messed up my field data type
    By ghostmachine in forum Access
    Replies: 2
    Last Post: 11-11-2010, 05:32 PM
  2. Replies: 1
    Last Post: 05-17-2010, 12:21 PM
  3. Replies: 3
    Last Post: 12-15-2009, 01:47 PM
  4. bigint field type problem
    By hakeem7777 in forum Access
    Replies: 0
    Last Post: 09-21-2009, 08:10 PM
  5. Replies: 0
    Last Post: 02-27-2009, 01:27 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