gazsharpe101
Registered User.
- Local time
- Today, 14:45
- Joined
- Oct 23, 2007
- Messages
- 47
Hi everyone,
It's been a long while since I posted on here, I hope you are all well.
Basically, my problem (which I think should be relatively easy to solve) is this:
I have a query which selects values from multiple tables. This part works ok.
However, here are some of the columns that I have in my query:
Act: Nz([InsolvSchemeDetails.ActiveMembers],0)
Def: Nz([InsolvSchemeDetails.Deferreds],0)
Pen: Nz([InsolvSchemeDetails.Pensioners],0)
Trans: Nz([InsolvSchemeDetails.Transferred],0)
Dec: Nz([InsolvSchemeDetails.DeceasedMembers],0)
My question is how do I sum these within my query?
I have tried this:
TotalMems: [Act]+[Def]+[Pen]+[Trans]+[Dec] however this doesn't sum them it just ends up as 00101 for example.
I have also tried to se the sum function but that also hasn't worked.
Any ideas would be much appreciated.
Thanks.
Gareth.
It's been a long while since I posted on here, I hope you are all well.
Basically, my problem (which I think should be relatively easy to solve) is this:
I have a query which selects values from multiple tables. This part works ok.
However, here are some of the columns that I have in my query:
Act: Nz([InsolvSchemeDetails.ActiveMembers],0)
Def: Nz([InsolvSchemeDetails.Deferreds],0)
Pen: Nz([InsolvSchemeDetails.Pensioners],0)
Trans: Nz([InsolvSchemeDetails.Transferred],0)
Dec: Nz([InsolvSchemeDetails.DeceasedMembers],0)
My question is how do I sum these within my query?
I have tried this:
TotalMems: [Act]+[Def]+[Pen]+[Trans]+[Dec] however this doesn't sum them it just ends up as 00101 for example.
I have also tried to se the sum function but that also hasn't worked.
Any ideas would be much appreciated.
Thanks.
Gareth.