I am trying to start using it,
so I have an empty project, I put an IBConnection, SQLTransaction, SQLQuery, DataSource, DBNavigator and DBGrid. Linked them up,
in FormCreate()
IBConnection1.Open;
SQLQuery1.Open;
execute, the data is showing. good.
So I went on and put a FPReport, FPReportDesigner, and a FPReportDatasetData1.
SQLQuery1 goes to FPReportDatasetData1's DataSet
FPReport1 goes to FPReportDesigner1,
FPReportDatasetData1 goes to FPReport1->ReportData->item 0
in Button1Click,
fpreportdesigner1.Execute;
execute, db data grid still shows the data. good.
click the button, boom.
access violation in frmfpreportdesignermain.pp at line 1623 update: fixed but no data is shown
function TFPReportDesignerForm.GetModified: boolean;
Var
i : Integer;
begin
Result:=Assigned(FReport);
If not Result then exit;
Result:=FModified;
if Result then exit;
Result:=True;
I:=0;
While Result and (I<DesignerCount) do
begin
Result:=PageDesigner(I).Objects.Modified;
Inc(I);
end;
end;