Results 1 to 2 of 2
  1. #1
    aparnawangu is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2015
    Posts
    40

    Query to count 3 components as one and show unique count

    Hi Team,

    I having to generate a query where the student id should be unique.
    Foreg if a have 2 records with same id but different fee components like Monthly fees,Maintenance fees n admission fees but id is 33.So the query should consider all these records as one.

    Regards


    Aparna

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Your query pulls ID# 123,
    it. Will have 3 records due to the 3 components.

    now make a query using your query,
    keep ID field, leave out comp field,
    set qry propery UNIQUE VALUES=true now you have only 1 record.

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

Similar Threads

  1. Replies: 2
    Last Post: 06-30-2016, 06:38 PM
  2. show a 0 if there is nothing to count in a query
    By megatronixs in forum Queries
    Replies: 10
    Last Post: 08-21-2015, 05:31 AM
  3. Query Unique Count
    By MikeEllis in forum Queries
    Replies: 3
    Last Post: 05-07-2015, 05:50 AM
  4. Replies: 2
    Last Post: 04-15-2014, 01:59 PM
  5. Replies: 3
    Last Post: 02-24-2014, 02:19 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