Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

DSum Question!

Discussion in 'Information Technology' started by JOM, Jul 28, 2006.

Tags:
  1. JOM

    JOM
    Expand Collapse
    Guest

    I have the following dsum statement on my report but am getting an error on
    my report and am not sure why.

    Its supposed to count CRqsts if expr1 is c<48 for each employee!

    DSum("[CRqsts]","qryTrack","[expr1] ='" & "c<48" & "And [EmpID] =" & [EmpID])
     
  2. Loading...

    Similar Threads Forum Date
    Question About GGS Questions and Answers Aug 28, 2016
    Marriage And Discrimination Related Questions Blogs Mar 21, 2016
    Sikhi Questioning Faith Sikh Sikhi Sikhism Mar 3, 2016
    Entering into Sikhism: Questions on Reht Maryada. Blogs Oct 22, 2015
    A question about kes/hair? Blogs Oct 21, 2015

  3. Ofer Cohen

    Ofer Cohen
    Expand Collapse
    Guest

    Try

    =DSum("[CRqsts]","qryTrack","[expr1] ='c<48' And [EmpID] =" & [EmpID])

    And if the [EmpID] is string type field

    =DSum("[CRqsts]","qryTrack","[expr1] ='c<48' And [EmpID] ='" & [EmpID] & "'")

    --
    Good Luck
    BS"D


    "JOM" wrote:

    > I have the following dsum statement on my report but am getting an error on
    > my report and am not sure why.
    >
    > Its supposed to count CRqsts if expr1 is c<48 for each employee!
    >
    > DSum("[CRqsts]","qryTrack","[expr1] ='" & "c<48" & "And [EmpID] =" & [EmpID])
     

Share This Page