Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi.

I made a script to tidy up holes in a repeating fields, by moving the next to the one that's empty. But it did not work, so I did some testing.

Set(non-repeating, GetRepetition(rep_field, 3) - works fine

Set(rep_field, "test") - works fine

Set("rep_field"- 2, "test") - works fine ... and so on

even Set("rep_field", GetRepetition(rep_field, 3)) - works fine,

but;

Set("rep_field"- 2, GetRepetition(rep_field, 3)) - (and so on) does not work. It fills in a blank (removes what's there)

Has anybody else experienced this?

Any workarounds?

Posted

Try storing the value that doesn't work in a global instead of the repetition field, and then copying the global into the repetition field. See if that works.

Steve

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