ChrisE Posted February 1, 2003 Posted February 1, 2003 I have a strange problem. I have a repeating field in my master db called _mm_codeholder. I have another repeating field in another db called _dr_codeholder. Both have 12 repeats and I want to use them to hold a number of codes which will eventually refer to other records in the db. Trouble is, I don't seem to be able to get a script to copy the 12 instances of _mm_codeholder over to _dr_codeholder. Only the first gets copied. I am using Set Field, specifying the repetition to be set. That works OK when tested with data from another test field. I am then using GetRepetiton(_mm_codeholder, n), where n is set in each of 12 script steps to be from 1 to 12. It just doesn't seem to get those repetitons, just the first one.................... My script would be like: Set Field [DatResourceKEYED:_dr_codeholder -n, GetRepetiton(_mm_codeholder, n)] Why no workee ?
Ugo DI LUCA Posted February 1, 2003 Posted February 1, 2003 What you could do is create a global field in the Master db. Then have a subscript that stores Repetitions in this global g_codeholder Set Field g_codeholder [GetRepetition (_dr_codeholder,n) Then Set Field [DatResourceKEYED::_dr_codeholder -n, g__codeholder
Recommended Posts
This topic is 7970 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