How to get value of QRcode in Frp file
Hi
I would like to save my Frp file data to DB, I can easy get value of a MemoView ,but how can i get a expression value of QRCode ?
I would like to save my Frp file data to DB, I can easy get value of a MemoView ,but how can i get a expression value of QRCode ?
Comments
Show how do you get MemoView value
Pascal code :
var
mv :TfrxMemoView ;
sName:string;
i :integer;
begin
for i := 0 to frxReport.ComponentCount - 1 do
begin
if frxReport.Components.ClassName = 'TfrxMemoView' then
begin
sName := frxReport.Components.Name;
if sName <> EmptyStr then
begin
mv := TfrxMemoView(frxReport.FindObject(sName));
if Assigned(mv) then
begin
Showmessage(mv.text) ;
end;
end;
end;
end;
I can get all value of TfrxMemoviews after preparereport ,but I have no idea to how to get value of Qrcode .I use notepad++ to open a frp file then can found value of tfrxmemoview ,but not found value of QrCode in frp file
another question, If I dont want get value from a frp file(cause need read/write hdd) , how should I to get this value in code? in OnAfterPrint event ?
Why do you need to read the values from the report after it's generated?
Can you just use the source data or query which created the report?
Because we did not know exactly which controls were used by the user until printing, we provided a free design program to the user
thank you so much gpi,problem solved!