Results 1 to 2 of 2
  1. #1
    halt4814 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    19

    Displaying Summary Information From a Query onto a Form


    Ok, what I have is a form that has two input text boxes that ask for a start date and end date. When you click a button, it runs a query that takes a group of data from that time frame. What I want the form to do is then display (on the form) the total number of rows that the query selected. Any help here?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,598
    You don't want to display the records, just a count of the records? The query is a saved Access object? Could use DCount domain aggregate expression in a textbox. Try:

    =DCount("*","queryname")
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 6
    Last Post: 06-10-2012, 04:28 AM
  2. Replies: 3
    Last Post: 04-25-2012, 02:14 PM
  3. Summary query
    By dsk96m in forum Queries
    Replies: 3
    Last Post: 02-29-2012, 01:40 PM
  4. Replies: 1
    Last Post: 01-20-2012, 04:31 PM
  5. Display Query Information on a form
    By srmezick in forum Forms
    Replies: 2
    Last Post: 12-15-2011, 09:24 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