DavidZakary

Copying chart

Discussion created by DavidZakary on Apr 23, 2013
Latest reply on Apr 24, 2013 by Mike_Mitchell

I'm putting a chart onto a report layout in FM11. The chart uses a different found set and sorting order from the layout being used to print.

 

I jump to the layout with the chart element on it, perform the find and sort - the chart generates properly.

 

I then want to put the chart into a container field. I'm using the GetLayoutObjectAtribute function with the "content" parameter. It grabs the chart and puts it into a global container field.

 

When I step through the script in debugger - works perfectly.

 

When I run the script normally - the chart doesn't appear in the container field.

 

I tried using refresh, pauses, nothing seems to work.

 

Any thoughts?

Outcomes