|
"But I need to add IM of both exch(22&JA) and put the value against exch22. And same for 24&JB..." Then, I do not think that you can do this in one query. Maybe one with the accumulated values for records that will match the first criteria (22 & JA) and the second with 24 & JB or maybe a pgm (like Rob stated before) is much better. See, I can't accumulate values under one condition and accumulate values for a different condition, both under the same column and using the same query. The key is that you are under a "conditioned criteria" situation that a pgm will better suite the need. IMHO, Peter Vidal Pall Aeropower Corp. SR Programmer Analyst WWW.Pall.com "My religion consists of a humble admiration of the illimitable superior spirit who reveals himself in the slight details we are able to perceive with our frail and feeble mind." Albert Einstein
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.