Help ME

Code Delphi

interface
uses
frxBarcode,...;
type
.
..
...
frxBarCodeObject1: TfrxBarCodeObject;
.
..
...

Tfrxbarcodeview(rep1.FindObject('Barcode2D'+inttostr(k))).Text := 'AAAA';

It Not Work, It Show Error 'Access violation at address 0040ACD8 in module 'XXX.exe'. Read of address 00220031.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:49PM
    what version of fr are you running?
    to use the find object method you must first load the report then you cast the object
    typically

    var
    Memo1: TfrxMemoView;
    Memo1 := frxReport1.FindObject('Memo1') as TfrxMemoView;

Leave a Comment