Im new to Crystal and Im trying to setup a report prompting the user for input to search a mysql database for - what I would like to do is if there is no input for one of the criteria then all records are selected - at the minute if I leave one balnk no data is selected. Summary of the formula below - Thanks for any help in advance;
{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)
{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)