Page 1 of 1

Load/View Multiple Pages based on condition

Posted: Thu Sep 03, 2015 8:57 am
by yycool
Hi

I have a report (.MRT file), which has multiple pages like "Stocklist"(page1), "Barcode"(page2). The problem is when i select option in the program to preview "Barcode" (page2) the report display blank. If preview "Stocklist" (page1) the report display nicely. Is there way to preview or render only "Stocklist"(page1) or "Barcode"(page2) condition based.

Attached with the .mrt file.

Thanks

Re: Load/View Multiple Pages based on condition

Posted: Thu Sep 03, 2015 10:33 am
by Alex K.
Hello,

Can you please send us a test data for your report for analysis.
Also as a way, you can set the Enabled property for pages to false and use the additional code in BeforePrint event:

Code: Select all

if (yourCondition)
{
   Stocklist.Enabled = true;
}
else
{
   Barcode.Enabled = true;
}
Thank you.