Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Formula error due to link options
Author
Message
Rogier
Newbie
Joined: 27 Oct 2009
Location: Netherlands
Online Status: Offline
Posts: 2
Topic: Formula error due to link options
Posted: 28 Oct 2009 at 2:23am
See if someone can help me with this.
Thanks in advance.
Formula
IF {WRNMST.RNLDRF}<> " "
Then 'A'
ELSE 'B'
Two linked tables, left outer join / Not enforced / Link type =
{WRNMST.RNLDRF} is in the second table.
Error, for items where there is no match in the second table, there is no formula result.
This has probably something to do with the link options ?
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 28 Oct 2009 at 7:24am
" " is not the same as NULL.
Is the {WRNMST.RNLDRF} field coming from the table that has the lesser row count? If so you need to tell it what to do with NULL values
If isnull({WRNMST.RNLDRF}) or {WRNMST.RNLDRF}= ""
then 'B'
else 'A'
IP Logged
Rogier
Newbie
Joined: 27 Oct 2009
Location: Netherlands
Online Status: Offline
Posts: 2
Posted: 28 Oct 2009 at 7:40am
This solved my issue, didn't see it like this.
Great thanks,
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
BAEZL
© 2004-2026 Brian Bischof. All Rights Reserved.