Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
Surpassing Null Values in Crystal Report
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Sanjeev Kumar
10y
713
1
Reply
Dear All,
I am creating a crystal report in which i how show address in this format for every school
ADD1
ADD2
ADD3
CITY
DIST
PINCODE
and i am fetching data from database, all the above column have some NULL values in it like for SCHOOL A - ADD1,ADD2,ADD3 have NULL values and for school B ADD2,ADD3 and CITY have NULL values and same like rest schools have some null values now when i am writing formula for first school
IF ISNULL({TEMP_PAY.ADD1})THEN
(
IF ISNULL({TEMP_PAY.ADD2}) THEN
(
IF ISNULL({TEMP_PAY.ADD3})THEN
(
IF ISNULL({TEMP_PAY.CITY})THEN
(
IF ISNULL({TEMP_PAY.DIST})THEN
{TEMP_PAY.PIN}
ELSE
{TEMP_PAY.DIST}
)
ELSE
{TEMP_PAY.CITY}
)
ELSE
{TEMP_PAY.ADD3}
)
ELSE
{TEMP_PAY.ADD2}
)
ELSE
{TEMP_PAY.ADD1}
then the first address of all the schools are showing correct but when i put same formula with other parameters then first Scool give duplicate CITY and rest scool are the same and some gets correct
i want that where there is NULL it should escape the field and give the next field which have some value for the all above fields help me for the same as soon as possible as i have searched lot for the same issue but did not get any help....
Regards
Sanjeev
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Crystal Report, showing record of current day only
How can i compute the regular pay, overtime pay and totalpay