Easy one for 50 Pts

Field 1 Editable Multi-values...

Need Field 2 to compute values from 1 - @Elements(Field1)

If i have 10 elements in Field1 then Field2 should have values 1,2,3,4,5,6,7,8,9,10

@Functions only please... R6.0.1 designer.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
Use the @While function in Formula...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ArunkumarAuthor Commented:
ArunkumarAuthor Commented:
Little bit of problems. Can you send me a cut & Paste solution please ?
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Sjef BosmanGroupware ConsultantCommented:
Hang on... In a jiffy!
Sjef BosmanGroupware ConsultantCommented:
How 'bout this, albeit a little differen, I used a @For (which also exists!):

max:= 10;
list:= "1";
@For(n := 2; n <= max; n := n + 1;
      list:= list:@Text(n));

To my surprise, you can reuse variables! Never tried in previous versions, since it used to be disallowed. Anyway, here you have it. And thanks for the points, by the way, but it will lead to serious point inflation...
Arun, in case you ever need such lists in R5 or lower:

REM "Basic ingredient: a short list of numbers";
n := @Explode("0 1 2 3 4 5 6 7 8 9"; " ");

REM "Generate a complete 3 digit list";
lst000To999 := n *+ n *+ n;

REM "Now for what we really need:";
startOn1 := @Subset(Lst000To999; -(@Elements(lst000To999) -1));
lst1To10 := @Subset(startOn1; 10);

You would have come up with those last few lines yourself... the power is in the *+ line....

* free of charge *
ArunkumarAuthor Commented:

Thats what I was trying and completely forgot that I was on R6 while doing.  You deserve it buddy.  Nothing comes free in this world right ?  Check out for your points.

Sjef BosmanGroupware ConsultantCommented:
It's good that there's R6 now, the overhead creating 990 list elements to be trashed immediately afterwards is considerable. Although, I assume looping in @Formula language isn't that efficient at all. Implicit list processing is a lot faster probably...
If you need a list of max. 2 digit numbers, you could use n*+n and trash 90!
I wonder what's faster... the @For-cycle or the list operation...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.