I assume that your T_MRP_TOTAL_LINES.PER_SEGMT field is a string type.
You can either convert this to a date field and then use that in the select expert
date(replace({T_MRP_TOTAL_LINES.PER_SEGMT},"/","/1/")) in dateserial(year(currentdate),month(currentdate),1) to dateserial(year(currentdate),month(currentdate)+ 3,1)
or you can convert the date into a text and use that in the select expert
totext(currentdate,'M/yyyy')={T_MRP_TOTAL_LINES.PER_SEGMT} or
totext(dateadd('m',1,currentdate),'M/yyyy')={T_MRP_TOTAL_LINES.PER_SEGMT} or
totext(dateadd('m',2,currentdate),'M/yyyy')= {T_MRP_TOTAL_LINES.PER_SEGMT} or
totext(dateadd('m',3,currentdate),'M/yyyy')={T_MRP_TOTAL_LINES.PER_SEGMT} or
totext(dateadd('m',4,currentdate),'M/yyyy')={T_MRP_TOTAL_LINES.PER_SEGMT}
Edited by DBlank - 08 Oct 2012 at 11:10am