Jump to content

Preventing Orphans


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

Recommended Posts

In FileMaker, modify the relationship definition so that the check box "When deleting a record in this file, also delete related records" is checked. This will automatically delete the child records whenever the parent is deleted.

If for whatever reason you do call a FileMaker script from the web, be sure that the FileMaker script doesn't perform any actions that would bring up a dialog box in the FileMaker application. If a dialog box (such as the result of a "show message" step) appears, FileMaker will not be able to respond to web requests until the dialog box is dismissed on the FileMaker Pro application.

Link to comment
Share on other sites

You can unselect "When deleting a record in this file, also delete related records".

A test can be performed to see if any child records exits. The user can then be prompted for the deletion of each of these records. The parent record can then be deleted.

All the best.

Garry

p.s. Look at using [FMP-InlineAction]

Link to comment
Share on other sites

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