newbie0423
IS-IT--Management
Crystal XI
I am trying to sum a field but I keep getting a message " this field cannot be summarized". The field I'm trying to total is a formula @turnover and it is written like so:
if OnfirstRecord then
0
Else if Date({v_basic_case_rec_data.cr_prdate}) <> Date(Previous({v_basic_case_rec_data.cr_prdate}))then
0
Else if {v_basic_case_rec_data.room_mnc} <> Previous({v_basic_case_rec_data.room_mnc}) then
0
else
if previous ({@PtOutTime}) > {@roomrdy}then
0
else
IF {v_basic_case_rec_data.room_mnc} = PREVIOUS ({v_basic_case_rec_data.room_mnc})
THEN ({@roomrdy} - PREVIOUS ({@PtOutTime}))/60
Is it the "previous" function that is preventing me from finding the sum of this field?
Thanks in advance for your help
I am trying to sum a field but I keep getting a message " this field cannot be summarized". The field I'm trying to total is a formula @turnover and it is written like so:
if OnfirstRecord then
0
Else if Date({v_basic_case_rec_data.cr_prdate}) <> Date(Previous({v_basic_case_rec_data.cr_prdate}))then
0
Else if {v_basic_case_rec_data.room_mnc} <> Previous({v_basic_case_rec_data.room_mnc}) then
0
else
if previous ({@PtOutTime}) > {@roomrdy}then
0
else
IF {v_basic_case_rec_data.room_mnc} = PREVIOUS ({v_basic_case_rec_data.room_mnc})
THEN ({@roomrdy} - PREVIOUS ({@PtOutTime}))/60
Is it the "previous" function that is preventing me from finding the sum of this field?
Thanks in advance for your help