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

Two versions are the same but act different... I M Stumped!


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

Recommended Posts

Posted

I am running 12 03 on OSX and Windows.

 

I have two versions of the same program; versions 999J and 999H.  The main Members Layout is based on Members table.

 

On the left (in red) is a portal based on a TOC of Members that when selected, a GTRR script is run and in the main Members section (to the right) the correct member detail is shown.  This works.

 

The problem:  When I click a 'delete' button, in v 999H it deletes a single record.

                                                                ... in v 999J the same script deletes ALL members?

 

post-72145-0-91222400-1364422646_thumb.j

 

So, I assume it is a problem with the relatinship between the portal TOC and the Main Members Table?  They are the same.

post-72145-0-80644000-1364422786_thumb.j

 

Allow Delete is turned OFF in both.   The Filter is the same in both and when turned off doesn't make a difference.  The Sort is the same.

 

So, if the script is the same.  And the relationships are the same, "What could cause a cascading delete in one and not the other?)

 

post-72145-0-75009500-1364423023_thumb.j

Posted

Got it!

I missed a TOC based on Members that had the 'Delete' box checked.  So, when I deleted the portal member it deleted the Members Member which cascaded to the TOC which had the Records box checked so everything got deleted.

 

Nothing is so clear except to those who have at last seen the light.

Posted

Ron,

 

Is it possible that another relationship between these tables has a cascading delete in 999J that might be involved? Are there any script triggers in play that you have overlooked?

 

Respectfully,

Levi

 

 

-- 
Laura (Levi) Vie
Lead Programmer/Account Manager
Filemaker 11 Certified Programmer
Filemaker 10 Certified Programmer
Filemaker 9 Certified Programmer
Filemaker 8 Certified Programmer
E: [email protected] V: 573-874-5176
 
- FBA Member
- FileMaker 7/8/9/10/11/12 Certified Developers & Consultants
- Designers and Developers of the FileMaker Business Tracker
Posted

Hi Laura, and Welcome to the Forum.

 

Why are you duplicating your Profile information in each of the body's of your post?

This topic is 4319 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.