December 11, 200916 yr I have a portal and I want to give the user the option to delete a portal row. So I have an [x] button that calls a script that uses the delete portal row script step, but it does not delete the portal row. It does not give me any errors in the debugger. On the same layout, in another tab, is a different portal that uses the delete portal row script step in it's delete script, and it works fine. I've compared the two to see what's different. Both have the same settings in the edit relationship dialog, both have an object name for the portal. The only difference I can see is that the portal that works is based on a join table, and the other one is not. I don't see why that would make a difference. Any ideas? Thanks!
December 11, 200916 yr Author Really odd, but this seems to be working now. I think it might have been that when I put bunk data in the portal row, I put text in a number field, and that was preventing the portal row deletion? I tried to replicate it, but I couldn't. Oh well, don't know what the problem was, but it works now.
February 4, 201015 yr For an unknown reason, I had exactly the same problem. Just restarted Filemaker and it worked. I wonder if this bug has been reported to FMI.
October 27, 201015 yr Newbies This happened to me when activated from the "Set Script Trigger" the "OnObjectExit". :
June 4, 201114 yr This isn't a "bug" in Filemaker, but rather something with your setup. If you'd post a clone of your file, we could look to see what you're doing wrong. Some ideas... you have a record level access rule on the privilege set that you're using which prevents delete in that table, you're not in the portal row (your script commits before the delete portal row step), you have a script trigger somewhere that is interfering, All just guesses, we need to see the file. PS: Script triggers are the cause of many unexpected behaviors. My suggestion is to use them with caution.
Create an account or sign in to comment