D
DRMOB
I have a form that has 2 subforms on it. One of the subforms has 2 fields
that are based on calculations performed in a query. The 1st calc is
"Total Approved: Sum([QtyApproved]*[CostApproved])" The second is "Less 10%:
IIf([Total Approved]>1000,[Total Approved]*0.9)".
FYI, the first calculation always shows on my form; the second will only
show if the 1st is greater than 1000. Now I have a 3rd field "Total Granted"
where I want to store what is in the 2nd calculation, if >1000; if less than
1000, than I want to store the 1st calculation in Total Granted.
I was able to get the 1st calculation to store, it's the IF statement that
is getting me.
=(ItemSubFrm.Form![Total$ofItemsRequestedSubfrm].Form![Total Approved])
Can you help?
that are based on calculations performed in a query. The 1st calc is
"Total Approved: Sum([QtyApproved]*[CostApproved])" The second is "Less 10%:
IIf([Total Approved]>1000,[Total Approved]*0.9)".
FYI, the first calculation always shows on my form; the second will only
show if the 1st is greater than 1000. Now I have a 3rd field "Total Granted"
where I want to store what is in the 2nd calculation, if >1000; if less than
1000, than I want to store the 1st calculation in Total Granted.
I was able to get the 1st calculation to store, it's the IF statement that
is getting me.
=(ItemSubFrm.Form![Total$ofItemsRequestedSubfrm].Form![Total Approved])
Can you help?