Results 1 to 3 of 3
  1. #1
    accessbuddy is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jul 2014
    Posts
    8

    Talking Textbox based on a Combo Box Selection

    I have a Quote form and when I select a Process from the Process Combo box on this form I want the Price to appear in a textbox. When I added the existing fields, Process 1 price appeared when the Process 1 combo box was selected. However, I added Process 2, PRocess 3...Process 10. i want the price text box to relate to each of these combo boxes individually. The Processes are stored in the Processes table with 4 columns:
    1st column - process id
    2nd column - process
    3rd column - set up cost
    4th column - total price per unit
    Click image for larger version. 

Name:	Screenshot 2014-07-15 12.53.07.jpg 
Views:	6 
Size:	102.3 KB 
ID:	17251Click image for larger version. 

Name:	Screenshot 2014-07-15 12.53.40.png 
Views:	6 
Size:	9.8 KB 
ID:	17252
    I tired using DLOOKUP but it results in #name?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Have the form connect to the same table as the combo box.
    Then when the user picks the process ID, filter the form to this ID and all the text boxes will fill instantly.

    combobox afterupdate event:
    Code:
    me.filter = "[processID]=" & cboProssID
    me.filteron = true

  3. #3
    accessbuddy is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jul 2014
    Posts
    8
    Thanks for your reply!

    How would I do this because the materials, threads, blocks , employee name, client name are all also linked to this form?
    Also where would I type in this code?

    Thank you again!

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

Similar Threads

  1. Requery Textbox after making selection from combo box
    By Access_Novice in forum Programming
    Replies: 5
    Last Post: 01-04-2014, 04:39 PM
  2. Replies: 3
    Last Post: 07-03-2013, 10:38 AM
  3. Replies: 1
    Last Post: 10-30-2012, 10:29 AM
  4. Replies: 1
    Last Post: 07-11-2012, 08:36 AM
  5. Replies: 2
    Last Post: 09-17-2010, 09:53 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