25 April 2014

Hi, Friends,

below code will helps to convert the sting to barcode, you just pass the string type and get the barcode



str 128 Convert2Code128(str _str)
{
BarCode barCode1 = BarCode::construct(barCodeType::Code128);
;
barCode1.string(true, strUpr(_str));
barCode1.encode();
return barCode1.barcodeStr();
}


then setup the properties as below:


No comments:

Post a Comment

Give me the commetns and solutions

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.