re Iff function

A

Anne

I have a report that displays inventory that we have in stock. The "Quantity
on Hand" is determined in a subform calculation. I would like to add an Iff
statement that says if the quantity on hand = 0 do not display the record.
For instance I have a lot of lines with discontinued stock items that are
just adding lines to the report and showing 0 value.
 
A

Anne

This is the calculation that runs on my embedded subreport
=Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))

The "quantity on hand" control is from this field in the main report is
called called "Units on Hand" This is the control for that field.
=[Inventory Transactions].Report!UnitsOnHand

I'm not sure where to put the "criteria >0 for inventory qunaity on hand"

Thanks
 
K

KARL DEWEY

I assumed that your subreport source was a query and the criteria would be
there.

Anne said:
This is the calculation that runs on my embedded subreport
=Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))

The "quantity on hand" control is from this field in the main report is
called called "Units on Hand" This is the control for that field.
=[Inventory Transactions].Report!UnitsOnHand

I'm not sure where to put the "criteria >0 for inventory qunaity on hand"

Thanks
--
Anne


KARL DEWEY said:
Just use criteria >0 for inventory qunaity on hand.
 
A

Anne

Is there another way I can stop the "0" Quantity on Hand records from
displaying in my report?

Thanks
--
Anne


KARL DEWEY said:
I assumed that your subreport source was a query and the criteria would be
there.

Anne said:
This is the calculation that runs on my embedded subreport
=Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))

The "quantity on hand" control is from this field in the main report is
called called "Units on Hand" This is the control for that field.
=[Inventory Transactions].Report!UnitsOnHand

I'm not sure where to put the "criteria >0 for inventory qunaity on hand"

Thanks
--
Anne


KARL DEWEY said:
Just use criteria >0 for inventory qunaity on hand.

:

I have a report that displays inventory that we have in stock. The "Quantity
on Hand" is determined in a subform calculation. I would like to add an Iff
statement that says if the quantity on hand = 0 do not display the record.
For instance I have a lot of lines with discontinued stock items that are
just adding lines to the report and showing 0 value.
 
K

KARL DEWEY

I do not know of another way than in a query.
Perhaps someone else may.

Anne said:
Is there another way I can stop the "0" Quantity on Hand records from
displaying in my report?

Thanks
--
Anne


KARL DEWEY said:
I assumed that your subreport source was a query and the criteria would be
there.

Anne said:
This is the calculation that runs on my embedded subreport
=Sum(nz([UnitsReceived])-nz([UnitsShrinkage])-nz([UnitsSold]))

The "quantity on hand" control is from this field in the main report is
called called "Units on Hand" This is the control for that field.
=[Inventory Transactions].Report!UnitsOnHand

I'm not sure where to put the "criteria >0 for inventory qunaity on hand"

Thanks
--
Anne


:

Just use criteria >0 for inventory qunaity on hand.

:

I have a report that displays inventory that we have in stock. The "Quantity
on Hand" is determined in a subform calculation. I would like to add an Iff
statement that says if the quantity on hand = 0 do not display the record.
For instance I have a lot of lines with discontinued stock items that are
just adding lines to the report and showing 0 value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top