If A=B then
'some code
Else
'some different code
end if
IIF is the immediate if used in functions:
IIF(A=B,True expression, False expression)
In order to achieve your specific results, you'll need to have a sum in either a report or group footer. The text box should have the following control source (or something like it):
Many thanks to VogonPoet. Someties a very simple answer and example is all that is needed. My grey matter at 70 needs a little stimulous, eventho I have been in the computer field since 1951.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.