Skip to Content
author's profile photo Former Member
Former Member

i want to add a total to the report but i am not able to do it

I have attached the screen shot where i am facing difficult.

Which i have highlighted in the atachment i need to add the hrs next new employee starts to dispaly.

Capturedd.GIF (15.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 24, 2016 at 10:35 AM

    Hi Khaja,

    Do you have a group on the Employee Field?

    Go to the Insert Summary option > Choose Hrs as the field to summarize > Choose Sum as the summary function > Under 'Summary Location' choose a group footer.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2016 at 10:37 AM

    Hi abhilash iam not sure about it.

    i am new to the crystal reports.

    this is the query:

    SELECT "employee"."NAME", "jobtrans"."DATE", "Jobgroup"."DESCR", "jobtrans"."HRS", "jobproc"."DESCR", "jobtrans"."START_TIME", "jobtrans"."FINISH_TIME", "jobtrans"."RUN_RATE", "jobtrans"."JOB_NUMBER", "estjob"."DETAILS1", "jobtrans"."WORKTYPE", "jobtrans"."PART_NO", "employee"."CODE", "employee"."NAME1", "employee"."DATACOL_DEPT", "jobtrans"."DESCR"

    FROM ((("SOLPrint"."dbo"."JOBTRANS" "jobtrans" LEFT OUTER JOIN "SOLPrint"."dbo"."ESTJOB" "estjob" ON "jobtrans"."JOB_NUMBER"="estjob"."JOB_NUMBER") LEFT OUTER JOIN "SOLPrint"."dbo"."JOBGROUP" "Jobgroup" ON "jobtrans"."GROUP"="Jobgroup"."CODE") LEFT OUTER JOIN "SOLPrint"."dbo"."JOBPROC" "jobproc" ON "jobtrans"."COST_CENTRE"="jobproc"."CODE") LEFT OUTER JOIN "SOLPrint"."dbo"."EMPLOYEE" "employee" ON "jobtrans"."EMPLOYEE_RECNUM"="employee"."RECNUM"

    WHERE ("employee"."DATACOL_DEPT"='140' OR "employee"."DATACOL_DEPT"='145') AND ("jobtrans"."DATE">={ts '2016-08-01 00:00:00'} AND "jobtrans"."DATE"<{ts '2016-08-02 00:00:00'}) AND "employee"."NAME"<>'System Material'

    i need to add the total after the employee

    how many hrs he has worked.

    next employee at the end of the employee total hrs he worked.

    Thanks a lot

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.