Results 1 to 3 of 3
  1. #1
    mathanraj76 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    39

    calucalte for report

    Hi ..
    I have report which i need calculate for those product and show by count and sum
    I have done for those product but

    1.I need know how many product "X" in my database
    For an example let say if in my database i have 10 product "X" then it show me 10 product X in my report summary


    2.I need know how many "Agency" and "Direct Client"
    3.I need know how many "Local" and "Overseas

    I have attached sample database.

    Thanks
    Mathanraj
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You want to know how many of those entities are in the tables?

    Could try:

    DCount("ID","[tblDirect Client]")

    DCount("*","[tblmagazine]")

    If you want to know how many in the report, try:

    Sum(IIf([Client(Agency/Direct)]="Agency",1,0))
    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.

  3. #3
    mathanraj76 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    39
    Thnks

    you solved my problems... tht's wht i want ..
    your code always perfect for me..
    thnks
    Mathanraj

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

Similar Threads

  1. Replies: 3
    Last Post: 03-11-2013, 05:11 PM
  2. Replies: 4
    Last Post: 12-13-2010, 05:33 PM
  3. How to calucalte tow records in on record..
    By Alwesam4u in forum Queries
    Replies: 1
    Last Post: 11-26-2010, 11:39 PM
  4. Replies: 2
    Last Post: 08-25-2010, 01:42 PM
  5. Replies: 3
    Last Post: 05-21-2010, 03:57 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