Results 1 to 3 of 3
  1. #1
    diegomarino is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    409

    Total query on filtered Form

    hi,
    i have a form that has a query as recordsource and that i filter through code.

    I'd like to make a report to show aggregated data, like that:

    [CODE]Select Position, company, Count(position) FROM ----THE RECORDSOURCE FILTERED OF THE FORM --- GROUP BY position, company/CODE]



    is there any way?
    thanks

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,923
    Use the form filter as the where clause of a query.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    diegomarino is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    409
    that did the trick! thanks

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

Similar Threads

  1. Update query for filtered form
    By Lateralusx777 in forum Access
    Replies: 8
    Last Post: 04-01-2022, 01:38 PM
  2. form filtered query
    By Newby in forum Access
    Replies: 3
    Last Post: 02-05-2018, 03:24 PM
  3. Re-query in a filtered form
    By tonygg in forum Access
    Replies: 5
    Last Post: 01-02-2018, 04:29 PM
  4. Filtered Report from filtered datasheet form
    By gemadan96 in forum Reports
    Replies: 7
    Last Post: 01-03-2014, 05:12 PM
  5. update query fon a filtered form HELP!
    By campanellisj in forum Queries
    Replies: 0
    Last Post: 11-12-2010, 09:08 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