NewFM85User Posted July 2, 2008 Share Posted July 2, 2008 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 More sharing options...
Søren Dyhr Posted July 2, 2008 Share Posted July 2, 2008 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 More sharing options...
NewFM85User Posted July 2, 2008 Author Share Posted July 2, 2008 That helps a lot. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now