G
Guest
My Access database has one complex calculation which is needed in most
reports.
The calculation requires IF/THEN logic as the calculation uses various
fields from a row in the table:
IF columnB = columnY and columnC = columnY THEN (columnZ * (columnD +
columnE))
ELSE
IF columnC = columnY THEN (columnZ * (columnE))
ELSE (columnZ * columnD)
ENDIF
I think that it should be in a procedure but, being a "beginner", I can not
understand the steps to create a procedure and make a connection with each of
the reports.
I have two reference books but one is too basic and does not provide any
information and the other is way too complex!
Thanks for your help!
reports.
The calculation requires IF/THEN logic as the calculation uses various
fields from a row in the table:
IF columnB = columnY and columnC = columnY THEN (columnZ * (columnD +
columnE))
ELSE
IF columnC = columnY THEN (columnZ * (columnE))
ELSE (columnZ * columnD)
ENDIF
I think that it should be in a procedure but, being a "beginner", I can not
understand the steps to create a procedure and make a connection with each of
the reports.
I have two reference books but one is too basic and does not provide any
information and the other is way too complex!
Thanks for your help!