Hi,
I suggest you export your data in a spreadsheet and do the work there...
a database works vertically, not horizontally.
If you cannot export the data, make the sum "manually" :
SELECT Nz(f1, 0) + Nz(f2, 0) + Nz(f3, 0) + Nz(f4, 0) + ......
FROM tableName
where f1, f2, f3, ... are the fields to sum.
If you have to continue to use the database further on, normalize your
data, instead, like:
SELECT instructor, Course1 As TimeSpent, 'Couse1' As Reason FROM
tableName WHERE NOT Course1 IS null
UNION ALL
SELECT instructor, Course2, 'Course2' FROM tableName WHERE not Course2
Is Null
UNION ALL
SELECT instructor, Course3, 'Course3' FROM tableName WHERE not Course3
Is Null
...
UNION ALL
SELECT instructor, CourseN, 'CourseN' FROM tableName WHERE not CourseN
Is Null
which make your data VERTICAL.Save the query, or better, make it a table,
and use that table further on, to do work on your data.
That does not mean you have to use that disposition for presentation! NOT
AT ALL. TABLES are for work, forma and reports are for presentation. Use
Total query or Crosstab to change from the normalize presentation of data
(nice to make work, hard to read) to horizontal disposition (easy to read,
hard to work with it).
Hoping it may help
Vanderghast, Access MVP
"(e-mail address removed)"