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 3874 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a way to delete records from a related table using a button.

 

a script to find a curtain number of records in a related table and delete them

 

I started with setting a variable from the current record to find the ones in the related

table

 

find records[]

 

but i cant get the search working

 

and is there a control to delete found records

 

 

 

Thanks

 

Really appreciate it.

 

Mg

 

 

Posted

Have a look at the Go to Related Record script step. It provides a way to quickly establish a found set of related records only. In fact, it would be a good idea for you to become at least vaguely familiar with all the available script steps and functions.

 

 

WARNING:

Resist the temptation to combine Go to Related Records and Delete All Records, without including some testing or error trapping. If there are no related records, the Go to Related Records step will do nothing; you will remain on the layout of the parent table and the next step will delete all your records there.

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