D
DRMOB
On a form I have a text box that I want to populate with a calculated number
from another form. The number I need to see depends on 2 check boxes
"RevisedGrant" and "Waive10Pct"
Can anyone tell me what is wrong with the code. I have had it a number of
diff way. Enclosing the iff in () etc. This problem is taking me much too
long to figure out. Please Help!!
=IIf([RevisedGrant]=True And [Waive10Pct]=True,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Revised
Less 10Pct]), elseIf([RevisedGrant]=True And [Waive10Pct]=False,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![RevisedTotalApproved]),
elseIf([RevisedGrant]=False And [Waive10Pct]=False,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Total
Approved]) elseIf([RevisedGrant]=False And [Waive10Pct]=True,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Less
10Pct])
from another form. The number I need to see depends on 2 check boxes
"RevisedGrant" and "Waive10Pct"
Can anyone tell me what is wrong with the code. I have had it a number of
diff way. Enclosing the iff in () etc. This problem is taking me much too
long to figure out. Please Help!!
=IIf([RevisedGrant]=True And [Waive10Pct]=True,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Revised
Less 10Pct]), elseIf([RevisedGrant]=True And [Waive10Pct]=False,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![RevisedTotalApproved]),
elseIf([RevisedGrant]=False And [Waive10Pct]=False,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Total
Approved]) elseIf([RevisedGrant]=False And [Waive10Pct]=True,
Forms!DataEntryFrm!ItemSubFrm![Total$ofItemsRequestedSubfrm].Form![Less
10Pct])