pat and wayne, you are both trying your level best to help me out. so am I. The code which wayne has sent, I have already tried it. Please can you read the whole post, I think I have explained my question and all the types of queries I have written.
MY SET OF DATA IS BASED ON THE QUERY I AM...