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

Recommended Posts

Posted

I have a FMP v7 with several files.

The relationship to the parent file is on a Name in a text field.

I want to add a field "Client#" in each file and base the relationship on that such that the Name can be changed in the future without affecting the relationships.

How would I populate the new Client# field without manually editing all the records? I would want then set up the client# to add the next client# automatically for each new record.

TIA

Jim

Posted

You would need to use two loops in a script. Loop over all records of the parent file; set a field in the parent record to the next serial number; inside the first loop, loop over the child file; for each record, add the new serial number.

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