Home End User

Link BarCode Component to Variable with a Calculation

If I put a Variable component with a Calculation based on fields in the pipelines, can I link a Barcode to the variable to print the data?

Comments

  • Hi Perry,

    The barcode component simply generates based on its Data property. Assuming the barcode has not already printed, you should be able to update this property with data produced by a variable calculation without issues.

    I tested this with a simple example and it functioned as expected.
    procedure Variable1OnCalc(var Value: Variant);
    begin

    Value := Value + 10;

    BarCode1.Data := IntToStr(Value);

    end;
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.