Announcement

Collapse
No announcement yet.

Custom message in data/text report when there are no differences

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom message in data/text report when there are no differences

    Hi,

    I am using below script for Data Compare -

    criteria rules-based ignore-unimportant
    load "C:\BeyondCompare\DIR1\CSV" "C:\BeyondCompare\DIR2\CSV"
    expand all
    select diff.files orphan.files
    data-report layout:side-by-side options:ignore-unimportant,display-mismatches output-to:"C:\BeyondCompare\Reports\CSV_Comparison.html" output-options:wrap-word,html-color

    When there is no differences in the file, I am getting an empty report as attached. Our requirement is to display a custom message to users saying that "No differences found." Could you please let me know whether this is possible and how to do it?
    Attached Files
    Last edited by fathimariswana; 30-Nov-2018, 06:26 AM.

  • #2
    Hello,

    This is not possible; the report will always generate. You would need to parse for the empty report, and then work in a custom message if the report is structured this way.
    Aaron P Scooter Software

    Comment

    Working...
    X