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

Check for an empy numeric field

Status
Not open for further replies.

TonyFoo

Programmer
Jul 2, 2008
21
CA
Hi All,

I have a numeric field in my report ("CurrentQuantity"), is there a way to check if the field is empty?

Also, Is there a way to suppress the first row in the details section?

Thanks,
 
If isnull({table.field}) then
"do this"
else
"do that"

Not sure about the second part but you can try this.

You could put a running total (#runtot) to reset with each group. From the section expert, check suppress the detail section and in the x-2, add the following

if #runtot = 1 then
true
else
false
if runtot
 
You could also suppress the detail section using:

onfirstrecord or
{table.groupfield} <> previous({table.groupfield})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top