Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5875 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

Use Loop and Go to Record(next, exit after last).

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.