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

Recommended Posts

Posted

Issues with Set Field script step with repeating fields.

I have a repeating field in one file that may have one of more values per repetition in this one field. I am trying to pass this values from one field in one file to another in another file.

The fields are both repetitive fields with the same number of repetitions (6). The original field is global which makes it possible for these values to be passed through the relationship between the two files.

I have tried the following:

- Using the Set Field script step and the calculation is pointing to the field containing the values. Done one per repetition.

- Using the E.g. Set Field[6] script step again and the calculation contains GetRepetition ( myfield ; 6 )

Tried many different combinations trying to pass this data. It did it once for some values but not all the repetitions.

Thanks

Alberto.

Screen shot 2011-01-31 at 15.25.09.png

Posted

Issues with Set Field script step with repeating fields.

I have a repeating field in one file that may have one of more values per repetition in this one field. I am trying to pass this values from one field in one file to another in another file.

The fields are both repetitive fields with the same number of repetitions (6). The original field is global which makes it possible for these values to be passed through the relationship between the two files.

I have tried the following:

- Using the Set Field script step and the calculation is pointing to the field containing the values. Done one per repetition.

- Using the E.g. Set Field[6] script step again and the calculation contains GetRepetition ( myfield ; 6 )

Tried many different combinations trying to pass this data. It did it once for some values but not all the repetitions.

Thanks

Alberto.

This is not the problem you should be solving.

The problem you should be solving is getting rid of the repeating fields.

Please describe your database in more detail.

Note also that while getRepetition is valid, square bracket syntax is easier: Set Field [ somefield; otherField[5] ] as opposed to Set Field [ somefield; getRepetition(otherField; 5) ]

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