![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On Tue, 20 Feb 2007 16:57:40 +0100, Carlos Pereira carlosp- (AT) nnhotmail (DOT) com> wrote: I am not sure whether this issue is related to the the process of filling the global with the function or with updating the portal Now I am. It is related to finding the portal records and displaying them. Even if there are more than 5.000 records, the function works almost instantly. However, refreshing the portal (no matter if it is limited to just 10 records or so) takes ages. I have tried limiting the number of records in the portal (adding an extra field to the relationship, a global that set the maximum value of the child key). This helps, but it still takes more than 1 minute to display the records in the portal. The relationship compares all records in the global field (left side of the relationship) to all records in the key field (right side of the relationship). This is the problem now. If you have hundred of records... Any ideas? Thanks |
#12
| |||
| |||
|
|
If the function works nearly instantly and the portal takes a while, then it is because you have applied sorting to either the portal or to the relationship that the portal is based on |
|
I guess my question to you is what is it you are really trying to accomplish? Why are people intentionally searching on criteria that would result in 5000 records, and then why would they want to scroll though 5000 portal records to find what they're looking for? There are likely much better ways -- much more efficient programmatically and much more intuitive for the users -- to accomplish whatever it is you are trying to accomplish. |
![]() |
| Thread Tools | |
| Display Modes | |
| |