Jump to content

FileMaker closes when Popover is closed


Recommended Posts

Hello all

On FM 18.03, the closing of a popover, the button of which is in each row of a portal, causes FileMaker to close.

This appears to only happen when the fields which are in that popover (the portal records) are edited.

Has anyone else experienced this?

Thanks

Link to post
Share on other sites
  • 4 weeks later...

Hi Comment

Please find attached. I think this is down to some poorly made filtering formulas in the portal:

1. The problem doesn't occur if I delete around 7000 of the portal records
2. It also doesn't occur if I remove the carriage returns from:
PatternCount ( ¶ & Clients::multikey_Cloud_Machines & ¶  ; ¶ &  Machines::ID & ¶ )) in the portal filter
3. However if I remove all the other filters and leave just the above one (with carriage returns) it is also OK

Thanks!

portal_popover_filter_problem.fmp12

Link to post
Share on other sites

I cannot reproduce the problem:

image.png.ba5677293feb445572e099987ff5014f.png

 

However, in my experience portal filtering becomes unusably slow when the number of records to filter exceeds a few thousands. Perhaps you're experiencing a memory overflow problem.

  • Like 1
Link to post
Share on other sites

Did you click away from the popover as soon as you had populated the field? And are you on 18.03? I just tried it on version 17 and the issue didn't occur.

Thanks

Link to post
Share on other sites

This seems to be an ongoing problem ... is it the same portal by chance?

https://fmforums.com/topic/98701-crashing-with-filter-formula/

Windows has, over its years, suffered from crashing portals.  I don't remember the specifics but one issue had to do with corrupt fonts.  Have you tried creating a new portal completely?  How about on a new layout?  Have you ever ran Recover on a copy of that file and see if it still breaks?

added: I won't bother testing since I'm using precisely same FM/OS as Michael.

I agree completely though, that filtering a portal is not a good idea with many records.  

Edited by LaRetta
Link to post
Share on other sites

Great memory LaRetta! It is a different portal, but what a coincidence that the issue occurred after an upgrade.

I've tried a brand new portal and tables etc but no luck.

For now I have replaced:
PatternCount ( ¶ & Clients::multikey_Cloud_Machines & ¶  ; ¶ &  Machines::ID & ¶ )
with:
not IsEmpty ( FilterValues ( Home_Clients::multikey_Cloud_Machines ; Home_Machines::ID ))

This has fixed it, though you can still see a delay when the popover is being closed. If it comes up again I will implement a multikey field relationship, the multikey field being updated on record entry.

Thank you both for your help!

Link to post
Share on other sites

It has crashed a few times (far less frequently however).

I have gone for the global multikey field option, party populated by ExecuteSQL. Filter criteria is now only user defined.

Link to post
Share on other sites

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
  • Similar Content

    • By dancer5678
      I am using Filemaker Server 18 on Windows Server 2012 R2
      Been using it for years with no issues
      Currently when I log in to the console it is very sluggish.
      When I get to the Dashboard it shows No databases, then it auto refreshes and the database list appears.
      Within 15 seconds of scrolling the database list to open files the screen refreshes. This situations is happening over and over in a loop.
      Any Thoughts on what is causing this issue?
       
       
       
       
    • By stevaroni
      I get an error 3 when using a script to Export Records via WebDirect. Using FileMaker Server 18 and have tried both Safari and Chrome both with same results. I have tried using the temporary path, desktop path, and documents path. I have tried using with the automatically open and not. I have tried writing a tab delimited and comma delimited file. Does anyone have ideas I haven't yet tried?
    • By cheerfulzebra
      Hi All
       
      I am hoping some one can help!
      I have a table called TPM, in that table is a field "Next Due Date" Which is auto generated by creating a new record. You input the date you did the service and then it adds 3 months to that date and that appears in the Next Due Date Field.. All working...
       
      What I am trying to do is when the database loads it runs a script to see if there are any outstanding TPM Services to do...
      Here is the script
      Show Customer Dialog
      Message: If ( TPM::TPM Next Due Date < Get (CurrentDate ) ; "You have outstanding TPM services" ; "You have no outstanding services")
      I thought it would be that simple. So I created a TPM Due date Less that Current date and ran the script...."You have outstanding TPM Services"...GREAT! Then I deleted that record and ran the script again...""You have outstanding TPM Services" Oh!!! That isnt true!
       
      PLEASE HELP I'M LOOSING THE WILL TO LIVE HERE!!!
    • By Kitesurfer
      Hi,
      Can someone please explain why Leftwords function is not properly working when importing an excell sheet.
      For example the name John Doe LeftWords ( Client ; 1 ) should show "John" only.
      When typing John Doe it works fine but not when importing ????
      Looking forward to a reply.
      Kind regards
      Rudy
    • By Pio Soto
      Hi,
      My issue is that my customer layout has a script trigger on LayOutEnter that sorts my customers portal list by "Active" customers,
      but when I do a go to related record from another table say from quotes or any other the customer layout does not load that customer
      or show my related customer because the OnLayoutEnter script trigger changes it, I would like it to go to the related customer and also sort it by "Active"
      on the list.
      Hope someone can help me with this.
      Thanks,
      Pio

×
×
  • Create New...

Important Information

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