Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using field information to display result 1

Status
Not open for further replies.

ccanalia

Technical User
Jul 27, 2004
20
0
0
US
I am working on a report where there are two dates listed, an enroll date and an exit date. I am trying to write a formula that will show the enrollment status based on the dates that are listed. If there is an end date the enrollment status would be "Closed" if there is not an end date then their enrollment status would be "Enrolled." I am new to using Crystal Reports and this goes way over my head. Please help.
 
To save everyone time, post the following here, and with any post at least include your software version:

Crystal version
Database/connectivity used
Example data
Expected output

The formula should work with something like the following:

If isnull({table.enddate}) then
"Enrolled"
else
"Closed"

This assumes that the default of the enddate field is a null. If not, code accordingly.

Hope this resolves, and have a good weekend.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top