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.
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
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;