Hide -Unhide fields based on criteria
Posted on 2004-03-30
I am using Crystal Reports 8.0 . I have a report that displays the Time report of employees.
The report contains the following fields
TIME IN ----- TIME OUT------Day -------Overtime(in hrs)-------Late Arrival-------Remarks
This is read from a table that conatins the fields that have to be dispalyed.
IF the employee is absent or on annual leave the TIME IN field will contain the day on which the employee was absent and
the fields will be empty. In the report I want to display ABSENT or ANNUAL LEAVE in place of the TIME OUT
,OVERTIME,LATE ARRIVAL i.e. I want to hide these fields and display a text field that displays "ABSENT" or "ANNUAL
LEAVE". A field in the record specifies whether it is a regular IN /OUT record or is it "ABSENT or "ANNUAL LEAVE"
So the issue is , how can I hide fields in Detail part of the report based on a field value.