im trying to set the following formula into the select expert. Crystal accepts the formula but doesnt seem to get the correct data. Are "And" - "or" statement ok for "Select Expert Formulas" ?
{part_bins.store} = {?Store} and
{part_bins.rop} = 0 or isnull ({part_bins.rop}) and {@Free Stock} < 0
or
{part_bins.store} = {?Store} and
{part_bins.qty} <= {part_bins.rop} and {part_bins.rop} > 0
{part_bins.store} = {?Store} and
{part_bins.rop} = 0 or isnull ({part_bins.rop}) and {@Free Stock} < 0
or
{part_bins.store} = {?Store} and
{part_bins.qty} <= {part_bins.rop} and {part_bins.rop} > 0