thechazm
VBA, VB.net, C#, Java
- Local time
- Today, 18:04
- Joined
- Mar 7, 2011
- Messages
- 515
Good day everyone,
I have litterally :banghead:b/c I have a simple totals query that does not want to total for any groups except for one of them. So I'll try to explain.
The data getting returned by the query it's trying to total looks like this:
Fields:
Charged Date | Home Shop | Borrow Shop | Work Hour | Nuke
1/14/2003 11 17 8 Non
1/15/2003 17 26 8 Nuclear
1/16/2003 11 72 8 Non
So when I try to run a totals query on this type of data I only get the nuclear number like this:
Home Shop | Nuclear | Total Hours
17 Nuclear 8
I would have expected:
Home Shop | Nuclear | Total Hours
11 Non 16
17 Nuclear 8
For the nuclear field I tried using 0 or -1 for true or false and I also tried actual boolean types finally I tried text and for some reason it only totals the Nuclear numbers....
Any idea's would be appreciated. Also the Nuclear field is a calculated field that contains Nuke: IIf(IsNull([Nuclear]),"Non","Nuclear") in a prior query.
Thanks
I have litterally :banghead:b/c I have a simple totals query that does not want to total for any groups except for one of them. So I'll try to explain.
The data getting returned by the query it's trying to total looks like this:
Fields:
Charged Date | Home Shop | Borrow Shop | Work Hour | Nuke
1/14/2003 11 17 8 Non
1/15/2003 17 26 8 Nuclear
1/16/2003 11 72 8 Non
So when I try to run a totals query on this type of data I only get the nuclear number like this:
Home Shop | Nuclear | Total Hours
17 Nuclear 8
I would have expected:
Home Shop | Nuclear | Total Hours
11 Non 16
17 Nuclear 8
For the nuclear field I tried using 0 or -1 for true or false and I also tried actual boolean types finally I tried text and for some reason it only totals the Nuclear numbers....
Any idea's would be appreciated. Also the Nuclear field is a calculated field that contains Nuke: IIf(IsNull([Nuclear]),"Non","Nuclear") in a prior query.
Thanks