Results 1 to 4 of 4
  1. #1
    dniezby is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2013
    Posts
    183

    How to add the result of a query to a form?

    I'm designing a form to input data (I know shocking right). I have a DOB field in my table. When I enter the DOB I want the persons current age to pop up on the form.



    I prepared a query that does this but how do I get this to show up on the form?
    Last edited by dniezby; 04-29-2013 at 11:29 PM.

  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,641
    I wouldn't bother with a query. Whatever formula you used can be the control source of a textbox:

    =YourFormulaHere
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    dniezby is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2013
    Posts
    183
    Thanks. That worked out. That's great for things that just need to show up on the screen.

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

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

Similar Threads

  1. Copy a query result to a form
    By vgreen in forum Forms
    Replies: 3
    Last Post: 01-30-2013, 02:23 PM
  2. Replies: 1
    Last Post: 06-09-2012, 05:44 PM
  3. inserting query result in a form
    By nichmeg in forum Forms
    Replies: 1
    Last Post: 10-17-2011, 06:42 AM
  4. Use query result to open form.
    By Playerpawn in forum Access
    Replies: 3
    Last Post: 05-12-2011, 11:18 PM
  5. HELP! Display a query result into form
    By leanne in forum Forms
    Replies: 15
    Last Post: 06-23-2010, 09:18 PM

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