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!

Formula to show blank lines/fields 1

Status
Not open for further replies.

cm1234

Technical User
Oct 18, 2002
41
DK
Hello

Im a newbi to CR and im using CR 8,5.
My questing is that i need to show som blank lines
in a report made from a paradox db.
but i can only get the report to supress/hide blank lines
from a given db. field where there is blank, and it is the
blank lines that are of importens for our company,
does any body have a solution to this

regards cm1234
 
Please define what you consider to be a blank line.

If a row is returned which has a blank field, and you want to demonstrate that this field is blank, perhaps a formula would suit your purpose, as in:

If isnull({Table.SomeField}) or {Table.SomeField} = "" then
&quot;<blank>&quot;
else
{Table.SomeField}

And if you want to limit the rows in the report to those that are empty in a given field, then use Report->Edit Selection Formula->Record and place something like the following in there:

isnull({Table.SomeField}) or {Table.SomeField} = &quot;&quot;

If you're checking a numeric data type, then adjust accordingly.

If this doesn't help, you'll be better served here by posting example data and intended results.

-k kai@informeddatadecisions.com
 
Hello
and thank you synapsevampire
the line
isnull({Table.SomeField}) or {Table.SomeField} = &quot;&quot;
just solved my problem and it works smoth.

best regards
cm1234
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top