How to encrypt or decrypt the data using reports

To encrypt or decrypt data in a report, write VB code in the Code module of the Bold Reports® Report Designer and call the function from an expression.

  1. Click Properties icon to open Report Properties.

    code-module

  2. The custom code option is listed under Code category, click Code… to open Code Module dialog box.

  3. In the code tab, write the VB code to encrypt or decrypt the data.

  4. Click OK button. open-report-properties

  5. Call the custom code function from an expression where you want to encrypt or decrypt the data. Expression To learn more about handling expressions, see the Expressions in Report Designer section.