Thanks Isaac, Morgan &* every one. i will try that out a little latter today if i can. i was also thinking that this strcture is kinda wierd. ideally i would like to make another table that just does a count on leads, & the other math stuff. so i dont have cf doing it but the sql server. but i am pretty newb at sql server. so need to read up on how to do that, if its a better way
get usr_id count leads count folledup, count dead, count (folledup-leads) As openLeads, count dead but there is a loop for each lead that gets counted and all. nm will play around a bit latter. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295941 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4