Correlation function A useful option

Source: Internet
Author: User

in LR, the NotFound parameter of the correlation function Web_reg_save_param has two options, meaning the following: error: When the correlation function fails to find a matching value, LR throws an error message; EMPTY: When the correlation function fails to find a matching value, LR assigns a null value to the associated parameter value. By default, this value is error, and in most cases this can be met. At some point, however, we may need to use correlation values to make some conditional judgments, such as setting when the associated value is empty.
Let the script do some special processing, this time if the default option is not appropriate, because when LR recognizes that the association value is empty, an error message is thrown that indicates that the associated record was not found. What do we do?
At this point, you can use another option for NotFound, set the NotFound parameter value to empty, for example: Web_reg_save_param ("Customer","lb=name=\ "classiassetsselected\" value=\ "","rb=\ "","Notfound=empty"(last ); let LR assign null values to the customer parameter, and then combine the judging condition statements in the following script, such as:if(strcmp ("", Lr_eval_string ("{Customer}")) !=0), the script can be controlled according to the judging conditions.

Correlation function A useful option

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.