Home Discussions Questions & Answers Making a parameter mandatory for users

Making a parameter mandatory for users

Avatar photoCustomer March 9, 2020 at 9:57 am

I need to ensure that users always enter a value for the ‘Ledger Name’ parameter before running the report. How is this simple mandatory entry enforced?

Viewing 6 reply threads
  • Author
    Replies
    • Support March 10, 2020 at 10:43 am  

      You use the Required flag during parameter setup. The purpose of the required flag is to enforce a parameter value entry by the user, primarily to prevent accidental report submission with insufficient parameter restrictions.

    • Avatar photoCustomer March 10, 2020 at 4:59 pm  

      What is the consequence if the user attempts to run the report without filling a required field?

    • Support March 10, 2020 at 10:20 pm  

      If the requirement is not met, Blitz Report evaluates the logical expression at run-time and displays an error message, preventing the report from launching a concurrent process.

    • Avatar photoCustomer March 11, 2020 at 7:53 am  

      I heard there is a way to make Parameter A OR Parameter B mandatory, not necessarily both. How is that accomplished?

    • Support March 12, 2020 at 10:26 pm  

      That utilizes the Advanced Required Parameters feature. By defining a logical expression based on parameter names, you can create an ‘either-or’ logic. For example, `:Customer_Name is not null or :Account_Number is not null`.

    • Avatar photoCustomer March 14, 2020 at 10:53 am  

      If I use the Advanced Required Parameters feature, what does the button label show?

    • Support March 15, 2020 at 7:49 pm  

      For reports with an advanced logical expression set up, the required button label shows ‘Advanced’ instead of ‘Required’.

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: