charlieintegral
MIS
Hi,
I have a number of parameters in the selection formula, but want the end user to be able to use all or as little as one parameter when entering the report. I can't quite seem to be able to use my little knowledge of SQL to make this work, it doesn't wnat to know when I exchange AND for OR. have any of you any ideas?
e.g.
{ACTIVE_SEPARATE.WO_NO} = {?WORK ORDER NO}
AND {ACTIVE_SEPARATE.MCH_CODE_CONTRACT} like {?area}
AND {ACTIVE_SEPARATE.COST_CENTER} like {?site }
AND {ACTIVE_SEPARATE.STATE} like {?status}
AND {ACTIVE_SEPARATE.PLAN_S_DATE} = {?date range}
AND {ACTIVE_SEPARATE.VENDOR_NO} like {?Contractor Number}
I have a number of parameters in the selection formula, but want the end user to be able to use all or as little as one parameter when entering the report. I can't quite seem to be able to use my little knowledge of SQL to make this work, it doesn't wnat to know when I exchange AND for OR. have any of you any ideas?
e.g.
{ACTIVE_SEPARATE.WO_NO} = {?WORK ORDER NO}
AND {ACTIVE_SEPARATE.MCH_CODE_CONTRACT} like {?area}
AND {ACTIVE_SEPARATE.COST_CENTER} like {?site }
AND {ACTIVE_SEPARATE.STATE} like {?status}
AND {ACTIVE_SEPARATE.PLAN_S_DATE} = {?date range}
AND {ACTIVE_SEPARATE.VENDOR_NO} like {?Contractor Number}