A Script That will Create an Item and Populate the Cell of the Just Created Item with a value

665 viewsScripting
0

Quantrix Community,  I’m no scripting master, but I know several of you are.  Here is my question.

QuantrixAuthority Answered question October 31, 2023
0

Thanks for the effort lyndseyweber perhaps this will help clarify what I’m after.

lyndseyweber Posted new comment October 30, 2023

Thanks Rich! Maybe this script then?
//if you want to clear the previous “last” item value in C1, include this line first: |Matrix2::B|.children.last().value = “”//

|Matrix2::B|.children.create()
|Matrix2::B|.children.last().value = |Matrix2::B|.items.size

Or, depending on what it is you’re trying to do, you could just put a formula in Matrix 2 in lieu of the last line in the script above… C1:B[LAST] = #B

You are viewing 1 out of 4 answers, click here to view all answers.

Latest Questions

Qloud Losing Formatting 4 Answers | 0 Votes
Meditation on timelines 3 Answers | 0 Votes