Hi,
I have a subform. The form acquires data from a sum Query.
It has about 6 items
A, B, C, D, E etc..
I am trying to add an unbound txtbox on the header of the form to show me the sum total of say A, B only
I have this code but it is not adding up? Can someone please tell me what i am missing?
=Sum(IIf([Permit Status]="A" And " B",[Grantee Acres],0))
Thanks.
Fen How
I have a subform. The form acquires data from a sum Query.
It has about 6 items
A, B, C, D, E etc..
I am trying to add an unbound txtbox on the header of the form to show me the sum total of say A, B only
I have this code but it is not adding up? Can someone please tell me what i am missing?
=Sum(IIf([Permit Status]="A" And " B",[Grantee Acres],0))
Thanks.
Fen How