G
Guest
I have created a report showing the number of shares for each shareholder
with a sum of the total shares.
One field in the row is to show "Outstanding" shares. I need to show the
total of just "Outstanding" shares. I can create an "IIF statement" on the
row to exclude any shares not outstanding:
=Iif([outstanding]=-1,[noshares],0. This works and gives me a field showing 0
if the shares are not outstanding and the correct number if they are.
How do I get a SUM of these outstanding shares? I have tried putting the
formula in the query; putting the formula in the table; and doing a SUM a
field in the footer. One error message I get says I can't do a formula that
isn't a number, but how would I set the datatype. I set the format to a
number.
Help.
with a sum of the total shares.
One field in the row is to show "Outstanding" shares. I need to show the
total of just "Outstanding" shares. I can create an "IIF statement" on the
row to exclude any shares not outstanding:
=Iif([outstanding]=-1,[noshares],0. This works and gives me a field showing 0
if the shares are not outstanding and the correct number if they are.
How do I get a SUM of these outstanding shares? I have tried putting the
formula in the query; putting the formula in the table; and doing a SUM a
field in the footer. One error message I get says I can't do a formula that
isn't a number, but how would I set the datatype. I set the format to a
number.
Help.