Thank you so much. I ended up using your vlb addition to insert a "page break" based on parsed data from within the column name!
Thank you once again!
col_name_Y = Column(dtLookup, "Y")[i];
col_name_X = Column(dtLookup, "X")[i];
col_name_X_next = Column(dtLookup, "X")[i+1];
// col_name_X format = XXX YYY_ZZZ. The following word commands extracts YYY.
rail= Word(1,Word(2,col_name_X," "),"_");
rail_next = Word(1,Word(2,col_name_X_next," "),"_");
if(rail!=rail_next,page_break =1,page_break=0);
If(page_break == 0,
lub << append(
dt << Graph Builder(
Size(500, 350),
Show Control Panel(0),
Show Legend(0),
Variables( X( As Column( dt, col_name_X ) ), Y( As Column( dt, col_name_Y) )),
Elements(Points(X, Y, Legend(5)))
)
);
,
lub << append(
dt << Graph Builder(
Size(500, 350),
Show Control Panel(0),
Show Legend(0),
Variables( X( As Column( dt, col_name_X ) ), Y( As Column( dt, col_name_Y) )),
Elements(Points(X, Y, Legend(5)))
)
);
vlb << Append(lub = Lineup Box(N Col(lub_idx)));
)