Jump to content

repeating field


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

Recommended Posts

Hi,

Can I define a repeating field in a script ? Like how we define the array ?

I will have different number of values each time.

I want to count the values .. say 3

array[1]=aaa

array[2]=bb

array[3]=cccc

then use the values from array. The number of values will vary each time based on how many products the customer orders.

I know we can define the repeating field in the table, but is it possible to define this kind of variable and assign the values in the script ?

I know that we can get the values from the repeating field using GetRepetition(variablename;#) or just variablename[#]

But how do we define that in a script and assign the value to it ?

Please help.

Link to comment
Share on other sites

You can define one or more repeating VARIABLES in a script, take a look here:

http://fmcollective.com/2007/04/18/creating-multiple-child-records-from-a-list/#more-26

But since this question have landed in the "conditional formatting" forum, should you instead consider portalized views!

--sd

Link to comment
Share on other sites

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