Very green at livecycle. I have been trying to figure this out for too long now. Please help.
Employee_5X is a dropdown of employee names
Employee_5X_Sta rt is a dropdown of start times
Employee_5X_End is a dropdown of end times
Employee_5X_Lun ch is a dropdown of lunch deduction times
Employee_5X_Tot al is the calculated total number of hours worked for the day.
If Employee_5X is blank, i want Employee_5X_Tot al to show 0 or be blank as well. Here is one of the ways i have tried to do it. I have tried java as well, but I am loosing my hair.
Any help is appreciated
Employee_5X is a dropdown of employee names
Employee_5X_Sta rt is a dropdown of start times
Employee_5X_End is a dropdown of end times
Employee_5X_Lun ch is a dropdown of lunch deduction times
Employee_5X_Tot al is the calculated total number of hours worked for the day.
If Employee_5X is blank, i want Employee_5X_Tot al to show 0 or be blank as well. Here is one of the ways i have tried to do it. I have tried java as well, but I am loosing my hair.
Code:
if (Employee_5X.isNull)then Employee_5X_Total ==0 else sum (-Employee_5X_Start.rawValue + Employee_5X_End.rawValue + (-Employee_5X_Lunch) + 12) endif
Comment