Skip to main content

Search

Search

subtract two different fields to print as total

Comments

1 comment

  • Avatar
    Peter Thane

    I believe you will need to reference the fields correctly either by making them Named Data Sources or, if the numbers come from a database select the field names in the VB Script Editor window. 

    For example I have named two fields BarCode4 and BarCode2 as per your information and my VB command would be

    Value = Format.NamedSubStrings("BarCode4").Value - Format.NamedSubStrings("BarCode2").Value

    0

Please sign in to leave a comment.