Results 1 to 5 of 5
  1. #1
    jlynch1477 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2016
    Posts
    3

    Display a specific field from a specific record in a text box

    I have a form with a list box that displays multiple records from a table based on a query. I also have a text box on the form that I want to display (and allow edits) to the "Notes" field of the record that is selected in the list box. I can't seem to get this to work. Please help!


    Thank you!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    When you say you can't get it to work, what have you tried exactly?

    One option is having the form bound to the underlying table, and having the listbox simply go to the selected record. That could be a performance issue, so another alternative is having the form bound to a query that displays the record selected in the listbox. Another alternative is using code to populate the textbox, and then saving the value back to the table when the record changes.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    jlynch1477 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2016
    Posts
    3
    I think I would like your last option, but you've also given me ideas to try. I'll repost again tomorrow. Thank you.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    No problem, post back if you get stuck. Welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    jlynch1477 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2016
    Posts
    3
    Thanks for the help and the welcome. Figured it out. I'm sure I'll be posting more questions.

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

Similar Threads

  1. Adding specific text in table field record
    By nycman in forum Programming
    Replies: 6
    Last Post: 09-07-2015, 05:52 PM
  2. Replies: 2
    Last Post: 01-14-2015, 12:00 PM
  3. Replies: 2
    Last Post: 11-14-2014, 08:57 AM
  4. Replies: 8
    Last Post: 11-13-2012, 03:36 PM
  5. Replies: 1
    Last Post: 04-11-2010, 04:05 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