dbTalk Databases Forums  

Portal showing the found set

comp.databases.filemaker comp.databases.filemaker


Discuss Portal showing the found set in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Portal showing the found set - 02-20-2007 , 11:31 AM






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.


Carlos Pereira wrote:
Quote:
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
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Professional Solutions, Inc. Los Angeles

FileMaker 8 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #12  
Old   
Carlos Pereira
 
Posts: n/a

Default Re: Portal showing the found set - 02-22-2007 , 06:23 AM






On Tue, 20 Feb 2007 09:31:47 -0800, Howard Schlossberg
<howard (AT) antispahm (DOT) fmprosolutions.com> wrote:

Quote:
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 got it! Neither the portal nor the relationship the portal is based
were being sorted. The problem was context. I am using the Anchor-Buey
graph method, but the layout was not based on the anchor TO. This
dramatically slowed down the portal refresh time. I've changed the
layout to be based on the correct TO, and everything is working fine
now. Both the search and the portal are almost instantaneous (less
than one second) which is exaclty what I was looking for. Thank you
very much for your help on this. I have added some comments bellow
FYI.

Quote:
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.
I am building a project management solution. The user might want to
browse all active projects, all his active projects, or all projects
for a given client, month, etc. The number of projects returned in any
of this searches could range from 0 to 800 (or maybe more, I do not
know it in advance). I am pushing the system to the limits to see how
it does.

I cannot control how many records are going to be returned by this
kind of searches, and YES, the user wants to see all the records,
because moving back and forward record by record is useful but not
practical when you have a found set of 500. I could try to filter the
found set, but for them is not acceptable. The idea of the portal is
to allow them to easily jump to a given record. This is not exactly a
request, but a requirement given their current needs.

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.