Need hlp with repeating fields plz

General support questions.
PostPosted: Wed Oct 12, 2005 11:09 am
Hi every1

Nver really had much for them until today.

But cant seem to make heads or tales of how they work.

Can someone explain how to store info into then. Into a specific repeatition. Like how do i store into : TestField[1] using script.

Same thing for getting the info bck.

The one giving most problem in the storing of the info in the right field and the right repatition.

Thx alot!!

PAtrick
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Wed Oct 12, 2005 1:27 pm
Oft' maligned, repeating fields can be really useful. Here are a few things to keep in mind...

You can set 'em and get 'em using the repetition number in brackets after the field name: repeatingField[number]

You can also use GetRepetition ( Field ; Number )

When using calculations involving repeating fields, any non-repeating field needs to be wrapped in the Extend() function. Such as: Extend ( Qtantity) * Price[2].

Best of all, you can use Get(CalculationRepetitionNumber) to have your calcs behave diffferently depending on which rep of the calc field is showing.

Hope that helps,
John Sindelar
SeedCode

Return to General Support

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: