i have set the formula in crystal report like
if({?eng_code}=" " then
{table.fdate}>={?fdate} and {table.tdate}<={?tdate} and {table.eng_type}={?eng_type}
else
{table.fdate}>={?fdate} and {table.tdate}<={?tdate} and {table.eng_code}={?eng_code}
comming variable eng_code is blank that mean first formula is working
but i have sql connection error
if i remove and {table.eng_type}={?eng_type} from the condition then crystal report working.
pls help me what's problem in this code
Sudhir