Woodelf Posted January 2, 2001 Share Posted January 2, 2001 I have a repeating field in which I want to store a list of randomly selected values from another repeating field. I have the random calculation sussed but when I try to put the GetRepetition calulation in any repetition other than 1 it does not appear?! script step is: Set Field ["repeatingField1" -2, "GetRepetition(repeatingField2;(random calc)"] Link to comment Share on other sites More sharing options...
Kurt Knippel Posted January 3, 2001 Share Posted January 3, 2001 quote: Originally posted by Coops: I have a repeating field in which I want to store a list of randomly selected values from another repeating field. I have the random calculation sussed but when I try to put the GetRepetition calulation in any repetition other than 1 it does not appear?! script step is: Set Field ["repeatingField1" -2, "GetRepetition(repeatingField2;(random calc)"] Boy, ohh boy. I am pretty sure that this will not work. Repeating fields are pretty limited in functionality and I'd bet that this will not work. Better to use a small file with one record for each repeat. You can then use a variable relationship based on your random number. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Consultant Database Resources mailto:[email protected] http://www.database-resources.com =-=-=-=-=-=-=-=-=-=-=-=-= Link to comment Share on other sites More sharing options...
Woodelf Posted January 3, 2001 Author Share Posted January 3, 2001 Aye, Aye Capt, I was afraid that was the case, normally I would always favour rellies over reps! The reason for pushing reps was that I am making a game for a small child and wanted to keep it as a single file to avoid it 'breaking'. Ho Hum back to the drawing board. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8513 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