How to create a count expression?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • natyboi
    New Member
    • Nov 2013
    • 15

    How to create a count expression?

    Hi i have a table named Employee having IDNo and a combobox named department with this row source
    INST'L SERVICES DEPT.
    FINANCE SERVICES DEPT.
    TECHNICAL SERVICES DEPT.
    OFFICE OF THE GM

    the question is how can i create a count in each row source?

    i already tried this code but it only shows #Error

    here's the code ive tried:

    =DCount("[IDNo]","Employee ","[department]='INST'L SERVICES DEPT.'")
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    "DCOUNT()" ??? You are not using MS-Access!!!!

    Or are you, than you are posting your question in the wrong place.

    In mysql counting can be done using the function COUNT

    Comment

    • Luuk
      Recognized Expert Top Contributor
      • Mar 2012
      • 1043

      #3
      for the rest of this story see: this ;-)

      Comment

      Working...