{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

HasValue

This function checks the prompt field for whether the user entered a value for the prompt or not. This is simply determined by checking whether the prompt field has a value set for it AND whether it is more than just an empty string. Note that any parameter type is allowed, not just a prompt field - the function will simply check the parameter for whether it is not null and not an empty string.

Usage:

HasValue( promptfield )

Parameters:

promptfield prompt field to check whether it has a value (also allowed to be any other value or field if you want to check them for whether they are null and not empty)

Returns:

True, if promptfield is not null AND not an empty string.

Examples:

HasValue ({?myprompt}) // Returns True if the prompt's value was set, False otherwise
HasValue ("")          // Returns False.
HasValue (null)        // Returns False
HasValue (1)           // Returns True.

See also:

i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - HasValue