crow Posted October 24, 2008 Posted October 24, 2008 I have found 4 records, for each record I want to copy a couple fields and put them into another layout. What script elements/calculations do I use to tell it foreach record found do this..... I think I can handle the set variable, go to new layout, set field to variable. I just don’t know how to do this for each record found. Consider me a newbie. Thanks in advance.
Fitch Posted October 24, 2008 Posted October 24, 2008 Use Loop and Go to Record(next, exit after last).
crow Posted October 24, 2008 Author Posted October 24, 2008 Got it working but the last record gets duplicated in my destination layout. Or I get other odd duplicates. I have: Loop (below is for first record) set var set var go to layout new record set field set field go to previous layout Got to record/Request/Page (Next Exit After Last) (below is for each next record and exit after last) set var set var go to layout new record set field set field End Loop
Colin Keefe Posted October 24, 2008 Posted October 24, 2008 You don't need the duplicate set var/set fields after go to next record. The loop will start with the first record, and at the end of the loop start back up top. So: Go to Layout A Go to Record/Request[First] Loop Set Variables Go to Layout B New Record/Request Set Fields Go to Layout A Go to Record/Request[Next/Exit after Last] End Loop
Recommended Posts
This topic is 5875 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