Print Thread
Performance Issue with Setting Field.DisplayLabel
#6549 07/23/04 02:01 AM
Joined: Oct 1999
Posts: 138
Eschborn, Germany
Member
OP Offline
Member
Joined: Oct 1999
Posts: 138
Eschborn, Germany
Hi

i have Performance Problem with this line:

iDataset.Fields[i].DisplayLabel := s;

The line is called a lot of times and AQTime shows me that it takes nearly 10 seconds for 200 Calls (0.05 Seconds per Call).

Is there a chance to boost this.

Greetings
Jens

Re: Performance Issue with Setting Field.DisplayLabel
#6550 07/23/04 07:24 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
I assume this is caused by the fact that this change needs to be propagated to all controls that display this label. I'm not sure how this could be improved.


Marco Kalter
Allround Automations
Re: Performance Issue with Setting Field.DisplayLabel
#6551 07/26/04 01:49 AM
Joined: Oct 1999
Posts: 138
Eschborn, Germany
Member
OP Offline
Member
Joined: Oct 1999
Posts: 138
Eschborn, Germany
DisableControls/EnableControls seemed to fix the problem.

Thanks for the hint.

Greetings
Jens


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.029s Queries: 13 (0.008s) Memory: 2.5002 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-03 15:40:47 UTC
Valid HTML 5 and Valid CSS