AnsweredAssumed Answered

Passing content of container repeating field into an other field

Question asked by Wicktor on Jun 4, 2017
Latest reply on Jun 8, 2017 by Wicktor

Hello everyone,

I have Table_A with container fields Field_1, Field_2, etc, (each with 2 repetitions).

In a layout I have all those fields with a script trigger "OnObjectEnter"

When I click on one of those fields I need to pass the specific content into an other container Field_B (with 2 repetitions)

Its suggested in an other thread I tried as follows:

Set Variable [ $fn ; Get ( LayoutTableName ) & "::"& Get ( ActiveFieldName ) ]

Set Field [ Field_B ; GetField ( $fn ) ]

Set Field [ Field_B [ 2 ] ; GetRepetition ( GetField ( $fn ) ; 2 )

 

It does not work.

Any clue ?

Many Thanks,

Victor

Outcomes