Andrew_Hobson Posted February 4, 2010 Posted February 4, 2010 Hello, Is it possible to make a loop with scriptmaker that goes thru each records of a Multivalued field? Or must I address each Multivalued field individually? If it is possible can someone point me to an example? Thanks for the help. Andrew
Lee Smith Posted February 4, 2010 Posted February 4, 2010 What is it that you are trying to do, what is your desired result? Lee
Andrew_Hobson Posted February 4, 2010 Author Posted February 4, 2010 I need to go thru my selected records, and go thru each Multivalued fields and if the record matches some croteria, I need to create a record in another table (that is not linked). I want to avoid to write in my main loop (in sort of pseudo code) Loop thru record of Table A if (Multivalued 1 = Yes) create record Table Z end if if (Multivalued 2 = Yes) create record Table Z end if if (Multivalued 3 = Yes) create record Table Z end if if (Multivalued 4 = Yes) create record Table Z end if End Loop I would want to write: TheMax = Get the max possible records in a Multivalued field Loop thru Table A for Counter from 1 to TheMax if (Multivalued (Counter) = yes) create record Table Z end if end for End Loop I'm a replying to your question?
Recommended Posts
This topic is 5406 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