L
lidane
Unregistered / Unconfirmed
GUEST, unregistred user!
我用FastReport做了报表保存后调用的时候显示的数据总是设计时的数据?
cldArea.Close;
cldArea.CommandText :='select * from AreaUnshippedReport';
cldArea.Open;
frArea.Dataset :=frDstArea;
frArea.LoadFromFile('C:/1.frf');
frArea.ShowReport;
cldArea.Close;
cldArea.CommandText :='select * from AreaUnshippedReport';
cldArea.Open;
frArea.Dataset :=frDstArea;
frArea.LoadFromFile('C:/1.frf');
frArea.ShowReport;