Jump to content
Server Maintenance This Week. ×

Repeating Fields


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

Recommended Posts

Hi guys,

I have a file with 3 repeating fields containing 25 repetitions each.

I'd like to create a seperate file and get the data from the 3 repeating fields into 25 records.

Any suggestions will be greatly appreciated.

Link to comment
Share on other sites

Let your repating field is A(25) B(25) C(25. Create one number global field N.

Create new file with fields AA BB CC Number. Create relation from your first file to second by N<---->Number name this relation as Rel.

Now script like this:

Set field N 1

Go to field AA

Loop

copy

past field rel::AA

go to next field

set field n n+1

exitloopif(n=26)

EndLoop

And so 3 times for field A,B,C

There may other easy ways, i posted the first way what i think.

I did it many times and each tume by different way.

Link to comment
Share on other sites

Make an extra table, and import into it with the splitting option chosen - no need for the recieveing table to have any repeats.

Then a comment to aaa: Exploiting copy and paste might do the trick but is unhealthy if the user should have anything important left in his/her clipboard - some objects can't even be stored temporarily in a global container or textfield!!!! At least does your script ignore this problem???

--sd

Link to comment
Share on other sites

But say the solution is going to be served via IWP ...unfortunately will the import between tables not work ...or rather it's a bit dodgy - not that I've tested it, but it's so that Import is grayed out if you choose to show scriptsteps allowed for IWP, but in this case hasn't it anything to do with the users interface??? Have anyone tried ...or should I give it a stab??

--sd

Link to comment
Share on other sites

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