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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not pulling some data 1

Status
Not open for further replies.

bdjb

Technical User
Oct 29, 2002
292
US
Hello,
I'm using Crystal 11 against an Advantage Database, I have a report where a select criteria is excluding 3 items using "Starts With". This works fine for the intended items, but it is alo excluding data where that particular field is blank. Any ideas on how I can fix that?

Select code:
{EQAnswer.FieldNum} in [2, 30, 31, 32] and
{Entities.ClosedFlag} = 0 and
{Entities.DateOpen} in [{?Date Range}] and
{Client.EntityID} = {?Client Number} and
{EQAnswer.EntityRole} = "COLLATERAL&LOAN" and
{Entities.EntityRole} = "PRE_FC_LOSS_MIT" and
not ({Entities.TheStatus} startswith ["bFC_C", "dFC_C", "FC_C"])

Thanks in advance!
 
{EQAnswer.FieldNum} in [2, 30, 31, 32] and{Entities.ClosedFlag} = 0 and
{Entities.DateOpen} in [{?Date Range}] and
{Client.EntityID} = {?Client Number} and
{EQAnswer.EntityRole} = "COLLATERAL&LOAN" and{Entities.EntityRole} = "PRE_FC_LOSS_MIT" and
(
isnull({Entities.TheStatus}) or
trim({Entities.TheStatus}) = "" or
not ({Entities.TheStatus} startswith ["bFC_C", "dFC_C", "FC_C"])
)

-LB
 
Thank you LB, that fixed it, and now I need to go and check the rest of my reports!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top