TfxDBDataset
I would like to know if the following code has any problem. The report has connected to the TfrxDBDataSet in delphi and i do add that in fast report under Report|Data. However, if i open the report from the .exe the first time and it goes ok. if I closed the report and return to the form and clicked to open the report, and close the report again, the whole program was gone. if i take off the connection in fast report, and repeat the above steps. it goes ok. anyone know the problem? do i need to close the connection after i close the report?
frxReport1.LoadFromFile('C:\test1.fr3');
frxReport1.ShowReport;
frxReport1.LoadFromFile('C:\test1.fr3');
frxReport1.ShowReport;