Results 1 to 5 of 5
  1. #1
    MFS is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Ohio
    Posts
    235

    Query Fields On Form

    Is it possible to have a text box on a form with the value from a query field?


    I would like to show a few query field values from multiple queries when the form is open.

  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,652
    Not directly, unless the query is the form's record source. You could use DLookup().
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    MFS is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2009
    Location
    Ohio
    Posts
    235
    I guess I could try DLookup.
    Thank you pbaldy

  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,652
    No problem.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Just to throw my two pennies....

    Since you mentioned a few fields, I would consider a subform. I do this sometimes when I want the form to be capable of edits but still show other relevant info. I will format the subform in a way that it blends in with the rest of the form. The end result is the form has more than one recordsource. The main recordsource is updateable while the others, 9contained in subforms, are not. Yet, I can place any and all of the controls in any order I choose.

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

Similar Threads

  1. Replies: 6
    Last Post: 07-12-2013, 01:23 PM
  2. PK of fields in a form that is sourced by a query
    By accessuser1023 in forum Programming
    Replies: 3
    Last Post: 12-29-2012, 04:55 PM
  3. Using form fields as query criteria
    By bener in forum Queries
    Replies: 3
    Last Post: 10-28-2011, 12:54 PM
  4. Replies: 1
    Last Post: 05-04-2011, 03:51 PM
  5. Replies: 3
    Last Post: 02-08-2011, 10:25 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