I have a situation where i have to hide the tables based on a condition, i am doing the visible property true or false based on the condition on before print event of that table and also i tried using e.Cancel property on before print event. Now the scripts is able to hide the table but the space remains and in my case i don't need the space also. So please provide solution.
Thank you for your message. To accomplish this task, handle all XRTableRows' BeforePrint event and set the e.Cancel parameter to True there if it is necessary to suppress these XRTables.
Attached is an example that demonstrates this approach in action. We look forward to your feedback once you have had the opportunity to try our solution.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.