Crystal Report speed with c#

  • Thread starter Thread starter Alfred Wallace
  • Start date Start date
A

Alfred Wallace

Hello,

I'm using CRAXDRT and AxCRVIEWER9Lib.AxCRViewer9 in a c# form to see a
cystal report.
I'm connected to oracle 9. database and my report is connected on
several tables and show several fields (one is a blob (bitmap)).
My form has a list (of IDVal) and the report.
I update the report contents when the selected item of the list
change.

m_Report.RecordSelectionFormula = IDVal + " = {MYTABLE.ID_KEY}";

m_axCrystal.RefreshEx(true);

m_axCrystal.ViewReport();

// wait until completion...
while (m_axCrystal.IsBusy == true)
System.Threading.Thread.Sleep(100);


And this is very, very, slow... Any idea to speed up ? (please not
reducing the sleep time ;) )
 
Back
Top