Results 1 to 3 of 3
  1. #1
    willfrank is offline Advanced Beginner
    Windows 7 32bit Access 2013 32bit
    Join Date
    Apr 2016
    Posts
    32

    auto fill text box based on a null cascading combo box


    I am looking for code to auto fill a text box from a combo box selection.

    Combo box selection is a cascading combo box. I would like this 2nd combo box after selection to autofill a text box.

    The combo box is set up as Null, so end user can select or change on each record as necessary. thanks

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    In the 2nd COmbo box's AfterUpdate Event, put a reference like

    textbox.text = nz(2ndcombobox.text,"")

  3. #3
    willfrank is offline Advanced Beginner
    Windows 7 32bit Access 2013 32bit
    Join Date
    Apr 2016
    Posts
    32
    Thanks for the reference, but still not working..[

    Is there a dlookup that I can use instead?

    QUOTE=Perceptus;323692]In the 2nd COmbo box's AfterUpdate Event, put a reference like

    textbox.text = nz(2ndcombobox.text,"")[/QUOTE]

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

Similar Threads

  1. Combo Box to auto fill text box - problem
    By mmaurigi in forum Programming
    Replies: 6
    Last Post: 03-29-2016, 09:35 AM
  2. Text boxes auto fill after combo box update
    By royalbridge in forum Access
    Replies: 11
    Last Post: 07-13-2015, 11:56 AM
  3. Replies: 5
    Last Post: 11-09-2012, 04:18 PM
  4. auto fill text box from dependent combo box
    By tommyried in forum Access
    Replies: 6
    Last Post: 06-17-2012, 03:55 PM
  5. Replies: 15
    Last Post: 04-01-2011, 11:41 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