On May 3, 5:53 pm, Chris G. <Chr...@discussions.microsoft.comwrote:
Quote:
Quote:
Time to find another job...
I just can't imagine that sort of environment - how can you ever get
anything done...?
>
You can't. but that doesn't stop them from asking for more.
Wow. I think Confucious said "First find people you can trust. And
then trust them". It must be horrible to be a developer in an
environment that doesn't trust developers.
Anyway, my solution would be similar to the "temp table" suggestion.
You'll probably have to do your summation it in SQL, so I'd suggest a
union query which would give you the total row at the bottom. Without
any code it's going to be hard to apply a different CSS class to style
the totals differently, but hey...
SELECT MyDate, ProductCode, Amount
FROM tb_sales
UNION ALL
SELECT NULL AS myDate, NULL AS ProductCode, SUM(Amount)
FROM tb_sales
Something like that, anyway.
HTH