On Aug 7, 2006, at 1:13 PM, Desmond Lloyd wrote:

Works fine for all employees except for one, where the time_total is equal on both sides. Changing one of the totals if I separate out the "current" and "history" cursors allows that employee to calculate properly. For the one employee it only selects one record, if I change one of the totals I get two???

Hope this makes sense.
Any suggestions?

        Try UNION ALL. By default, UNION removes duplicate records.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to