Hi..having trouble printing multiple reports from grid.
1. I have set the menuitembutton and the menuitem multiselect = yes.
2. I have entered the following code into the menuitembuttons\clicked
void clicked()
{
//super();
Table Buffer;
MenuFunction mf;
args args;
for (Buffer=Table_ds.getFirst(true) ?Table_ds.getFirst(true) :Table_ds.cursor(); Buffer;Buffer= Table_ds.getnext())
{
args = new Args();
args.record(Buffer);
mf = new menufunction(identifierstr(ReportMenuItem), MenuItemType::Output);
mf.run(args);
}
}
Please advise. Much appreciated!
*This post is locked for comments
I have the same question (0)