Can i use multiple optional parameters in a record selection formula? I have other selection criteria (not optional) as well.
If i use a single optional parameter and not hasvalue the selection will work fine, but how do i stack the hasvalue selections?
not hasvalue ({supplier}) or {item.supplier} = supplier and
not hasvalue ({prodgroup}) or {item.prodgroup} = prodgroup and
{item.qty.onhand} > 0 and
{item.inactive} = Y
When a selection is made in both parameters only the second one works. No error but the report will always select all records for supplier.
Thanks in advance,
If i use a single optional parameter and not hasvalue the selection will work fine, but how do i stack the hasvalue selections?
not hasvalue ({supplier}) or {item.supplier} = supplier and
not hasvalue ({prodgroup}) or {item.prodgroup} = prodgroup and
{item.qty.onhand} > 0 and
{item.inactive} = Y
When a selection is made in both parameters only the second one works. No error but the report will always select all records for supplier.
Thanks in advance,