Barcode value

edited 9:58PM in FastReport 4.0
Hi,

in my sql table, i have two column, ProductCode, ProductSize.

Product code is: 12345678901234AHC
Product size is: 270100105000

I am trying to join two data and print barcode with this;
[Copy(<ADOTable1."ProductCode">,1,14)][Copy(<ADOQuery1."ProductSize">,8,5)]
.

I am using barcode component and wrtie this to code.
When i preview, it gives me tihs error.

wrote:
Error
The following error(s) have occured:

BarCode2: Error in expression '[Copy(<ADOTable1."ProductCode">,1,14)][Copy(<ADOQuery1."ProductSize">,8,5)];': ';' expected

I couldn't find how to fix this code.



barcodek.jpg


Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:58PM
    only 1 set of [] allowed in the expression

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.