• I will suggest that you give us an example using sample tables and data, to accompany your picture of what the expected output should be. Simple text explanations in the absence of source data lead to long sessions of question-and-answer that can be often be shortened dramatically with just a little effort to create some data.

    For examples of how to set up a problem to get tested solutions faster, read this article[/url].

    Thanks 🙂

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills