Results 1 to 2 of 2
  1. #1
    kassem is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    22

    how to set textbox to values from query


    Hi,

    I have a form called Accounts with two textbox with the fields Fname and Lname. I run a query of some sort and I have record left with the columns F_name and L_name, Once i run the query how can i set the textbox values to the according values. ie. Fname=F_name and Lname=L_name.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    The form must be bound to the query. The EASIEST way is to open the query then click AUTO FORM button. All fields will be mapped to the text boxes.

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

Similar Threads

  1. Multiple Values in textbox
    By frksdf in forum Forms
    Replies: 10
    Last Post: 07-14-2014, 11:41 AM
  2. Setting textbox values on a report using vba
    By Markb384 in forum Reports
    Replies: 6
    Last Post: 01-24-2014, 09:54 AM
  3. Replies: 2
    Last Post: 08-12-2013, 05:47 PM
  4. Replies: 2
    Last Post: 02-04-2012, 01:48 PM
  5. Not sure why textbox not working for some values
    By jtkjames in forum Programming
    Replies: 1
    Last Post: 07-21-2010, 04:26 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