How to refresh data after dataset record change?
I found an issue:
I have a simple report with no masterdata (only one memo on page).
memo.Text := [Dataset."ID"];
Now I do (in Delphi):
And now, I get 2 pages with Memo.Text = '1';
I don't know why the ID is the same.
Do I need to refresh a frxDataset after myDataset record change?
I have a simple report with no masterdata (only one memo on page).
memo.Text := [Dataset."ID"];
Now I do (in Delphi):
myDataset.RecNo = 1; (ID = 1)
frxReport1.LoadFromFile(file.fr3);
frxReport1.PrepareReport();
         Â
myDataset.RecNo = 5; (ID = 5)
frxReport1.LoadFromFile(file.fr3);
frxReport1.PrepareReport(false);
And now, I get 2 pages with Memo.Text = '1';
I don't know why the ID is the same.
Do I need to refresh a frxDataset after myDataset record change?
Comments