Wizard Systems Posted December 2, 2004 Posted December 2, 2004 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
transpower Posted December 2, 2004 Posted December 2, 2004 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now