New Blog Post: PDF/A and Metadata

Refresh pipes in designer

edited February 2012 in End User
Need to rebuild my custom pipes.
Can I trap the refresh event of the DataTreeWindow



--- posted by geoForum on http://www.newswhat.com

Comments

  • edited February 2012
    Hi Kevin,

    I'm unclear about what you are trying to accomplish. By refreshing the
    pipelines, do you mean to refresh the fields available due to the fact
    that the underlying dataset has changed? At what time during the
    reporting process do you wish to do this. Are you unable to access the
    pipeline or dataset directly?

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2012
    Yes I need to update the pipes list and fields.

    My problem is this I have a form(s) with a list of data. processes are run
    which may create new lists and forms. RB needs to be displayed these new
    lists in pipes.
    I found that the newly created pipes where not display datatreeview on the
    current refresh.

    or is there a better way of getting the datatreeview to display the new pipes?



    --- posted by geoForum on http://www.newswhat.com
  • edited February 2012
    Hi Kevin,

    If the pipelines are created after the designer is loaded, the data tree
    window will need to be rebuilt (refreshed).

    You can gain direct access to the Data Tree Window using the
    DesignToolManager.ToolWindows property. Something like the following...

    uses
    ppToolWnTBX;

    ...

    lDataTreeWindow :=
    ppDesigner1.Form.LayoutManager.ToolManager.ToolWindows.ItemsByName['DataTreeWindow'];

    lDataTreeWindow.Refresh;

    Note that you will need to be sure the DataTreeWindow is a valid object
    before making calls to it.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2012
    Yes will use this. Just need to get the timing right.

    Thanks



    --- posted by geoForum on http://www.newswhat.com
This discussion has been closed.