Results 1 to 2 of 2
  1. #1
    ezybusy is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2015
    Posts
    119

    Exclamation Display value of table field in unbounded text filed on form

    Hi everyone,


    I have designed a entry form which has a combo box that shows a list of products.
    Now what i want to do is "place an unbounded text box that will automatically display the details of the product that the user selects from the combo box".
    Any help please!!!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    in the combo box have extra columns that contain the details.
    the combo query will have 2 columns, the NAME, DETAILS
    set properties:
    cboProd.columns = 2
    cboProd.colwidths = 1;0 (so you dont see the details)

    then after user selects the item, fill in the text box from the column
    Code:
    sub cboProd_afterupdate()
       txtDetails = cboProd.column(1)     'remember columns start with 0, so the 2nd col = 1
    end sub

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

Similar Threads

  1. Replies: 3
    Last Post: 10-28-2015, 12:38 PM
  2. Replies: 4
    Last Post: 03-31-2015, 06:35 PM
  3. Replies: 8
    Last Post: 04-01-2014, 02:12 PM
  4. Replies: 5
    Last Post: 10-11-2012, 06:46 PM
  5. Display record in unbound text field on form
    By MAABDOLAT in forum Forms
    Replies: 1
    Last Post: 07-25-2012, 06:10 PM

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