Avatar

Level 10

When you are reopening the PDF, the code should check if the Add button was clicked earlier..

The only way you can find that is by getting the count of the rows for Row1.

So if the count of Row1 is more than 1 then you need to display the Row1 other wise hide the Row1.

For Example:

     You can place the following code in the Initialize event of the Row1, to check the Row1 under Technical subform.

     You need to do the similar thing for other sections as well.

     if(Technical.Instance1.Table1.Row1.instanceManager.count>1)

          Technical.Instance1.Table1.Row1.presence = "visible";

     else

          Technical.Instance1.Table1.Row1.presence = "hidden";

Thanks

Srini