The first is to calculate the number of tablets taken from the following 2 fields Dispensed and Returned, this will allow the number to be entered into field Number taken
Placed the following in control source
=Int(Sum([Dispensed]-[Returned]))
This works but it won't do the calculations on the fly!!!! You need to go onto the next record then it gives figure.
The second calculation needs to work out a compliance figure, with the following fields:
Number taken, Number to be taken and this needs to be a percentage so it needs multiplying by 100.
Placed the following in control source
=Int(Sum([Number taken]\[Number to be taken])*100)
This just doesn't do anything.
Anybody any good with Access?? Help is as unhelpful as help normally is and I can't find any exampls on the web. Is it possible to have 2 calculations on a form?
I've got no ideas how to get this to work so any help is much appreciated.
thanks
This post has been edited by stidyup: 16 August 2005 - 06:31 AM

Help


Back to top








