Print Page | Close Window

Logic for multiple previous chpts

Printed From: Crystal Reports Book
Category: General Information
Forum Name: Announcements
Forum Discription: Please check this section for the latest announcements from Crystal Reports Forum
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=19388
Printed Date: 06 May 2024 at 1:29pm


Topic: Logic for multiple previous chpts
Posted By: kevinp70
Subject: Logic for multiple previous chpts
Date Posted: 11 Apr 2013 at 3:44am
So this code takes into account where if cases having been previously a chapter "13" are also incorporated into the equation/report; however, I'd like to also include where if cases having previously been a chapter "7" are also incorporated as well, but I don't know how to add the chapter "7" to the code (see below). I really appreciate any assistance that can be offered -- thank you.

If IsNull({u_case.cs_prev_chapter}) Then
{u_case.cs_type} = "bk" and {u_case.cs_date_filed} >= {?startdate} and {u_case.cs_date_filed} <= {?enddate}
Else
{u_case.cs_type} = "bk" and {u_case.cs_date_filed} >= {?startdate} and {u_case.cs_date_filed} <= {?enddate} and {u_case.cs_prev_chapter} = "13"



Print Page | Close Window