I am trying the following
SELECT SUM(TL-FL) AS SUMMARY FROM tblvisiblepsdbsumoneweekpfil WHERE loneind = 'X' GROUP BY (TL-FL)
tblvisiblepsdbsumoneweekpfil
but it gives me multiple distinct values. Is it because I'm grouping by a calculated field?
(Thread moved to Database forum.)
Can you give us some sample data and explain what you're getting versus what you're trying to get as a result?
Ack! I drop the group by and it works fine. Thanks!