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!

selection formula

Status
Not open for further replies.

raghu55

Technical User
Oct 2, 2005
45
US
HELLO
I have feilds like loan.disb_agent-code, loan.lender_sk.

selection : select those records
if loan.disb_agent-code not = loan.lender_sk
and (NULL OR SPACES)

I dint understand that condition.
I was put conditon as, in record selection formula

loan.disb_agent_code<>loan.lender_sk
and
loan.disb-agent-code="NULL"
OR
loan.disb_agent-code="SPACES" ITS NOT WORKING.
I was tried with Isnull(loan>disb-agent_code) its also not working. DO i need any changes more........



 
Bit of a language barrier here, but I'll guess that you want:

(
isnull({loan.disb-agent-code})
OR
trim(loan.disb_agent-code)=""
)
and
(
loan.disb_agent_code<>loan.lender_sk
)

-k
 
Still you haven't conveyed much.

Try eliminating part of the criteria until you get rows, then you'll know why.

I think that you misunderstand the data, or how this is filtering it.

-k
 
let me clear,

I have to select those records, feild indicateing "NULL" OR "NONE"

 
Meanning that a field has the text null or none in it?

What did you try, and where?

You need to spend more than 10 seconds on your posts, you aren't stating anything meaningful except that it isn't what you want.

Ttry posting:

Crystal version
Database/connectivity used
Example data
Expected output

The formula I posted checks for null of the exitence of a field without anything in it other than spaces.

Simplify it to:

(
isnull({loan.disb-agent-code})
OR
trim(loan.disb_agent-code)=""
)

Does that return rows?

-k
 


iam getting rows, but i want to display those records
haveing "spaces
 
some fields have null
some fields have spaces
 
Hi,
Lets try again ( altho you seem reluctant to provide information)[banghead]

What selection formula are you using?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top