Hi. I have a problem. I am beginner in use of ehlib 5.6, i use dbgrideh and memtableEh(MTCorectie)
qCorectie is a TQuery work with dbf, and i want to load MTCorectie, to use the sort/filter options of dbgrideh
MTCorectie have no fields in design, i want to load the structure from qCorectie.
First time, the code work.
MTCorectie->Close();
MTCorectie->LoadFromDataSet(qCorectie,-1,lmCopy,false);
MTCorectie->Open();
After one operation in DBF append/update, i make a new selection with qCorectie and i want to load again MTCorectie with the same
MTCorectie->Close();
MTCorectie->LoadFromDataSet(qCorectie,-1,lmCopy,false);
MTCorectie->Open();
In this moment, BIG ERROR in MTCorectie->Close();
Cannot perform this operation on a closed dataset. If delete MTCorectie->Close();
appear the same error in MTCorectie->LoadFromDataSet
Where is the problem...first time work, filled the table, but second time crash?
Please help. Thanks.