Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 1207 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Hello, 

I have a list of data, extracting/looping from Webviewer to a portal.   I would like to sum last 400 record on every new record created. 

through portal it slow down too much so I try to integrate  a script step to get list and sum previous 400 records 

the fast I found is "GetFieldList ( fieldName ; recordNumStart ; recordNumEnd )" it work perfectly on the layout of the table, 

but it doesn't work on a portal & table where the Webviewer is located. 

 

Is there anyway to get it work with the portal or other way to sum 400 previous record out of a portal ? 

 

thank you :) 

Screen Shot 2021-10-11 at 12.29.40.png

Edited by ibobo
Posted

Sometimes it may be easier to open a window, could even be hidden of the related records, contstrain/find the 400 you want.  A summary field will have the correct count.  Copy that value as a variable, set the field with that variable.
A Sql statement/calc may also do it to.  Someone with that experience may be able to help.

Posted

Thank you Steve, as it loops sometimes every second, open and close window, or switch between windows will mess-up  the loop or conduct on error or freeze.  Already happen on other project that s why I avoid. 

I may found Custom fonction that give me list of what is in the portal, so I think I ll filter in portal 400 last record and sum the up with the CF. 

Posted

I did it like this, it seem s to work well, 

do you think it s the best way ? 

Screen Shot 2021-10-12 at 08.38.14.png

Posted

Thank you,

well Comment it seems to be more that close 😇 how can I change the 3 to 400 ? 

Posted
1 minute ago, ibobo said:

how can I change the 3 to 400 ? 

3 is just the script parameter attached to the button. 

Unrelated to your question, but I would be reluctant to use a portal showing 400+ records.

 

This topic is 1207 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.