× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-10-25 15:13, Dan wrote:
The following query generates the data I want to see:
With MostRecentRR as (
select DISTINCT a.rvprcd, a.rvdtcode, max(a.rvrrdt) as Max_rvrrdt
from oprrfvp a
where a.rvsabb = 'WV'
group by a.rvprcd, a.rvdtcode )
Select * from oprrfvp b
where b.rvsabb = 'WV'
and exists (Select * from MostRecentRR a
where a.rvprcd = b.rvprcd
and a.rvdtcode = b.rvdtcode
and Max_rvrrdt = b.rvrrdt )

Try specifying the library, probably with sql syntax (lib.file). I'm
sure I've done that before. Excel just passes the query to the i, so
should be ok if the query is valid. It will complain that it can't
display the query graphically, but that's ok.

- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzGC7EACgkQXczQcKdXKg5PHwCfae0QMVsJ9PfPYPMKwOstT34p
Lh8An2ZBrSTI32QuGAGbxUnIPXO3jGRj
=ahc3
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.