Hi , I have a clamno, pidate ,lineno in a table.Each clamno can have multiple lineno in the table.Below is an example, Processing month : september Clamno lineno pidate 12345 001 09/27/2011 12345 002 08/16/2011 12345 003 10/11/2011 In this above scenario , i should not select this claim because the pidate is greater than the processing month. 23456 001 09/27/2011 23456 002 08/15/2011 23456 003 07/14/2011 In this above scenario, i should select this whole claim because the pidate is within the processing month. 13456 001 07/27/2011 13456 002 08/15/2011 13456 003 07/14/2011 In this above scenario, i should not select this whole claim because the pidate is not within the processing month. so my output should be : 23456 001 09/27/2011 23456 002 08/15/2011 23456 003 07/14/2011 Please let me know how to process this dates.
... View more