I am trying to create a report with the option of searching on 5 different criteria;
{ORD_HDR.cust_code} = {?Code} and
{ORD_CHS.bbe_date} = Date (0, 0, 0) and
{ORD_CHS.prod_cod} = {?Code} and
{ORD_CHS.ppal_num} = "" and
{ORD_HDR.des_datc} in Date (0, 0, 0) to Date (0, 0, 0)
This works fine if data is entered for each, what I would like it to do is search on 2,3 or 4 of these if requested - hope that makes sense!!!!!!!!!!!!
{ORD_HDR.cust_code} = {?Code} and
{ORD_CHS.bbe_date} = Date (0, 0, 0) and
{ORD_CHS.prod_cod} = {?Code} and
{ORD_CHS.ppal_num} = "" and
{ORD_HDR.des_datc} in Date (0, 0, 0) to Date (0, 0, 0)
This works fine if data is entered for each, what I would like it to do is search on 2,3 or 4 of these if requested - hope that makes sense!!!!!!!!!!!!