Opening a PDI within a PIW, unable to modify

Discussion created by T13856 on Apr 13, 2012
Latest reply on Apr 16, 2012 by T13856

I have managed to open the display, insert a trend onto the display and then close the display. Seemingly working as it should, however when i double click on that entry to view the display the trend is not there, it just opens up a blank display. This is my code.


app.ProcBooks.Open(oBook.Path & "!" & oEntry.Label)


                           Dim PBDisplay As PBObjLib.Display = app.ActiveDisplay






where the sub plottrend adds a trend to the display and changes the background of the display to white. Neither of these changes are picked up when i open up that entry. Should i be doing the SaveAs outside of the close method?