TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sanjeev Kumar
NA
6
1.1k
Surpassing Null Values in Crystal Report
Sep 8 2014 4:37 AM
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
Reply
Answers (
0
)
Crystal Report, showing record of current day only
How can i compute the regular pay, overtime pay and totalpay