pardon my ignorance, i'm very new to access..
i'm doing a college project right now.. and i have a report which shows the stocks purchased/sold by a client..
i'm supposed to calculate the revenue earned from commissions on PURCHASES of stocks by the client.. but my transactions are all in one table. there is an a column (Transaction Type) which could be Buy/Sell entries..
i.e. what i need is to sum up all the Volume * Price * 1% commission, if the transaction type is Buy.
in my report footer.. here's what i have right now
=Sum([Volume]*[Price]*0.01)
how do i set an If statement into the expression builder such that it only takes Buy transactions into account?
i'm doing a college project right now.. and i have a report which shows the stocks purchased/sold by a client..
i'm supposed to calculate the revenue earned from commissions on PURCHASES of stocks by the client.. but my transactions are all in one table. there is an a column (Transaction Type) which could be Buy/Sell entries..
i.e. what i need is to sum up all the Volume * Price * 1% commission, if the transaction type is Buy.
in my report footer.. here's what i have right now
=Sum([Volume]*[Price]*0.01)
how do i set an If statement into the expression builder such that it only takes Buy transactions into account?