Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 27 Apr 2024, 15:13

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 29 Aug 2023, 10:26 
Offline

Joined: 31 Jan 2013, 13:05
Posts: 17
I test the speed with huge memtableh. I have a basic MTVerificare table with datasource link to a grideh.
MTVerificare->First();
for(int i = 1; i < MTVerificare->RecordCount; i++)
{
MTVerificare->Edit();
MTVerificare->FieldByName("IND_UE")->Value = "R";
MTVerificare->Post();

MTVerificare->Next();
}

I don't see the row indicator moves line by line and update the field IND_UE in the grid.

I see all the table update at the and of cycle, but i want to see row by row.
I need your advice to set correct the components options.

Thanks!


Top
 Profile  
 
PostPosted: 31 Aug 2023, 19:55 
Offline

Joined: 08 May 2014, 18:06
Posts: 663
Hello

Try to call DBGridEh1.Update;
after every MTVerificare->Next(); operation

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group