I have table with 20 columns Named 1 to 20
next I have 5 rows for each area so there could be a total of 100 samples, 5 by 20. There is a subform which shows the 100 boxes. When the user takes samples, they may only use some of the 100 or 15 next time they may use 22 of the 100 and so on.
I need to count across all 20 columns and 5 rows to get a total if the box has something in it. So I want to end up knowing they took 22 samples or 15 samples.
Can this be done with one SQL statement?
TIA
DougP
next I have 5 rows for each area so there could be a total of 100 samples, 5 by 20. There is a subform which shows the 100 boxes. When the user takes samples, they may only use some of the 100 or 15 next time they may use 22 of the 100 and so on.
I need to count across all 20 columns and 5 rows to get a total if the box has something in it. So I want to end up knowing they took 22 samples or 15 samples.
Can this be done with one SQL statement?
TIA
DougP