Nightowl4933
Tryin' to do it right...
- Local time
- Today, 12:54
- Joined
- Apr 27, 2016
- Messages
- 151
Well, I thought this would be easy...
I have 4 fields in a query, from which I would like to calculate a final figure. The fields are formatted as Currency, are in the same table and are as follows:
(F)und - The organisation I'm getting funding from
(S)ecured - Funding I've been promised
(R)eceived - Funding I've already received
(H)eld - Funding being held until I ask for it.
What I'm trying to do is have a calculated field which is [Secured] - ([Held] + [Received]) and Grouped by [Fund], but the calculation doesn't give the correct result.
The values involved are:
(F),(S),(R),(H),Result
John, £684, £193, £15, £476 (684 - (193 + 15) = 476) Correct
Paul, £6, £6, £0, £0 (6 - (6 + 0) = 0) Correct
George, £54, £54, £0, £0 (54 - (54 + 0) = 0 Correct
Ringo, £97, £21, £0, £0 (97 - (21 + 0) = 0 Wrong
The actual formula in the Query is:
Result: [Secured]-([Received]+[Held]) although, to be more accurate, the '0' results are blank. When I take [Held] out of the equation, i.e. Result: [Secured] - [Received], it works properly.
Help! (Which is also the name of one of their earliest albums and movies!
)
I have 4 fields in a query, from which I would like to calculate a final figure. The fields are formatted as Currency, are in the same table and are as follows:
(F)und - The organisation I'm getting funding from
(S)ecured - Funding I've been promised
(R)eceived - Funding I've already received
(H)eld - Funding being held until I ask for it.
What I'm trying to do is have a calculated field which is [Secured] - ([Held] + [Received]) and Grouped by [Fund], but the calculation doesn't give the correct result.
The values involved are:
(F),(S),(R),(H),Result
John, £684, £193, £15, £476 (684 - (193 + 15) = 476) Correct
Paul, £6, £6, £0, £0 (6 - (6 + 0) = 0) Correct
George, £54, £54, £0, £0 (54 - (54 + 0) = 0 Correct
Ringo, £97, £21, £0, £0 (97 - (21 + 0) = 0 Wrong
The actual formula in the Query is:
Result: [Secured]-([Received]+[Held]) although, to be more accurate, the '0' results are blank. When I take [Held] out of the equation, i.e. Result: [Secured] - [Received], it works properly.
Help! (Which is also the name of one of their earliest albums and movies!
Last edited: