Dynamic dataset creation
I have simple application with four components:TfrReport,TfrDBDataSet,TADOStoredProc and TADOConnection.
After I've run report I can't manage TADOStoredProc component. If I set
storedProc->Active = false or form is destroyed I've got the following error:"BOF or EOF is true or current record has been deleted". After this error TfrReport behavior is inconsistent
Do I need to create new instance of TADOStoredProc each time I start report ?
After I've run report I can't manage TADOStoredProc component. If I set
storedProc->Active = false or form is destroyed I've got the following error:"BOF or EOF is true or current record has been deleted". After this error TfrReport behavior is inconsistent
Do I need to create new instance of TADOStoredProc each time I start report ?
Comments
For example, I have to display report depending on input parameters:
storedProc->Parameters->Items[1]->Value = 1;
report->ShowReport();
...
storedProc->Parameters->Items[1]->Value = 2;
report->ShowReport();
In second case report shows the same report as in first case. How to force it refresh actual data ?