Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Visual Basic (https://www.askmehelpdesk.com/forumdisplay.php?f=469)
-   -   Count in the Report (https://www.askmehelpdesk.com/showthread.php?t=33610)

  • Sep 7, 2006, 03:24 AM
    sukkarfarid
    Count in the Report
    Dear...
    I have aquestion about the report .
    I give you example .

    Table:

    Size Date
    FCL 1 X 40' 2/6/2006
    FCL 2 X 40' 5/6/2006
    FCL 3 X 40' 9/6/2006
    LCL / 1 PALLET 1/8/2006
    LCL / 2 PALLETS 2/8/2006
    LCL / 3 PALLETS 3/8/2006
    LCL / 4 PALLETS 4/8/2006


    My question...
    How can I cout the like size (FCL) = 3 as example
    and the size (LCL) = 4 as example
    between Date I insert it

    thanks and Regards
    Farid Sukkar
  • Sep 7, 2006, 03:28 AM
    colbtech
    What software are you using?

    If you are using Excel, use CountIF function.
  • Sep 7, 2006, 03:33 AM
    sukkarfarid
    My software is Microsoft Acess
  • Sep 7, 2006, 05:52 AM
    ScottGem
    Add a column in a query with the expression:

    SizeGroup: Left([Size],3)

    Then group on that column and count the primary key field for the record. Add a Date Column as a WHERE with the criteria

    Between startdate AND Enddate
  • Sep 10, 2006, 01:55 AM
    sukkarfarid
    Dear ScottGem
    I need your help please see my picture and help me..
    Thanks an regards
    Farid Sukkar
    http://www.moq3.com/pics/up/f_07_09_06/a38b1426e3.jpg
  • Sep 10, 2006, 04:01 AM
    ScottGem
    I told you what you need to do. Did you try following the instructions I gave you.

    If you want to do this in a report, you can create the query I described, without the group by. Use the report wizard to group by the SizeGroup column and use the summary options to get your counts.

  • All times are GMT -7. The time now is 08:04 PM.