Hi, how can you have an optional paramater,
for example "customer id" or "client id"
the report viewer can just enter one of those two to view the report.
Thanks.
Parameters will always display, but you can set default values and take action based on them.
So create both parameters, and in the set default value area place something like "All" or 0, depending on it's data type.
Then in the Report->Select formula->record place:
(
if {?MyClientParm} <> "All" then
{table.client} = {?MyClientParm}
else
if {?MyClientParm} = "All" then
true
)
and
(
if {?MyCustParm} <> "All" then
{table.Customer} = {?MyCustParm}
else
if {?MyCustParm} = "All" then
true
)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.