corx Posted March 3, 2005 Posted March 3, 2005 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.
aaa Posted March 3, 2005 Posted March 3, 2005 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.
Søren Dyhr Posted March 3, 2005 Posted March 3, 2005 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
aaa Posted March 4, 2005 Posted March 4, 2005 Thank you very match, SOREN DYHR! I did not know about this opportunity of import!
Søren Dyhr Posted March 4, 2005 Posted March 4, 2005 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
corx Posted March 5, 2005 Author Posted March 5, 2005 Thank you very much. It worked like a charm. Thanks to all who posted
Recommended Posts
This topic is 7272 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