Good afternoon,
I wish you a happy new year !
I use Ehlib 9.4 (build 9.4.009) with Delphi D10.2 and I detected strange behavior, i will try to explain to you.
I use TDBGridEh object connected on SQL DB with TFDQuery & I use TMemTableEh object.
TDbGridEh -> TDataSource -> TMemTablEh -> TDataSetDriverEh -> TFDQuery
Also, I use TPrintDBGridEh to preview / to print and the problem is here.
When I want to preview content of DBGrid, I do this :
Code:
PrinterPreview.Previewer.ViewMode:=VmPageWidth;
PrinterPreview.Orientation:=poLandscape;
Preview;
When I press button "Stopper" (Abort) (French translation) because there is too much data (> 5000 rows) then i press my button "New" without close the preview window :
Code:
// button "New"
MyMemTable.Close;
I have following error :
Quote:
MyMemTable: Impossible d'effectuer cette opération sur un ensemble de données fermé
When I halted the preview process.
Do you know why that does that ?
Thank you in advance.
ISOAR