Jump to content

Repeating Fields - Dynamic changing


RSpisketts

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

Recommended Posts

Hi,

Is there any way to use a "Loop" construct to loop through all repeating field indices and (for instance) set them to "".

I am currently doing the following:

Clear( Select; Table::RepeatingField )

Clear( Select; Table::RepeatingField[2] )

...

It will be a pain if the repeating field has 100 items in it !

Thanks. tongue.gif

Link to comment
Share on other sites

Put the field on its own layout, displaying all repetitions. Tab through them to make sure they're all in order. Create a script to

Go to Layout [this new one]

Commit Records/Requests [No dialog]

Loop

Go to Next Field

Set Field [ ; ""] <- don't specify the field, just the null result

Exit Loop If [Get(ActiveRepetitionNumber) = 100]

End Loop

Substitute 100 with your number of repetitions.

Link to comment
Share on other sites

  • 2 weeks later...

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