Dataset "" is not exists.

edited 5:31PM in FastReport 3.0
My report is ok in FR2.5, but when i migration fastreport from 2.5 to 3.09,i get the follow error: Dataset "" is not exists.

In my application, all data is created dynamic, for example, i always create a clientdateset, then load data from a xml file, then link the clientdataset to TfrxDBDataset, everything is ok in FR2.5, but when i migration fastreport from 2.5 to 3.09,i get the follow error: Dataset "" is not exists.

why??

The following code is test code, i can send the test project to anybody if you wish to get or download from the url: http://www.hsnet.cn/download/Fr309Test.exe
procedure TForm1.Button1Click(Sender: TObject);
var
mast: TClientDataSet;
frmast: TfrxDBDataset;
report: TfrxReport;
begin
mast := TClientDataSet.Create(self);
mast.LoadFromFile('data.xml');
mast.Active := true;
frmast := TfrxDBDataSet.Create(self);
frmast.DataSet := mast;
report := TfrxReport.Create(self);
report.LoadFromFile('test.fr3');
report.ShowReport;
end;

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.