"Barak zabari" < XXXX@XXXXX.COM > ha scritto nel messaggio
This's the constructor of the form housing the report....
IDPlatform, TComponent* Owner)
dmTargetDB->adodsPlatform->Filter = "IDPlatform=" +
AnsiString( IDPlatform );
dmTargetDB->adodsPlatform->Filtered = true;
dmTargetDB->adodsPlatform->Filtered = false;
It's called with a simple:
frmPlatformReportGeneral = new TfrmPlatformReportGeneral(
Tracing the execution I noticed that the RecordCount property of
before filtering is set to 2 for some seconds after Filtered = true sets to
1 (correctly since there's just one record satisfying that condition) then
bounce back to 2 just before rptPlatformGeneral->PreviewModal().