Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Refresh the dataview tab on the designer.

edited January 2014 in General
Hello,
How can I make the 'Data' page on the end user designer refresh its
contents (in code)?

I have added a main menu item which builds the dataview and query in
code but this won't show up on the data tab until I go to the Design
tab and back again.

Regards,
Will.

Comments

  • edited January 2014
    Hi Will,

    There is currently no way to refresh the data workspace in code.

    We will add this capability for the next version of ReportBuilder (15.03).

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2014
    Nico Cizik (Digital Metaphors) wrote:



    Thanks Nico.
    I have purchased the upgrade to version 15 ready for this update.

    Regards,
    Will.
  • edited March 2014
    uses
    daDataManager,
    daIDE,
    ppEndUsr;

    function GetDataManager(ADesigner: TppDesigner): TdaDataManager;
    begin
    Result := ADesigner.Form.DesignModules.ItemsByName['Data'] as
    TdaDataManager;
    end;

    procedure RefreshDataViews(ADesigner: TppDesigner)
    begin
    GetDataManager(ADesigner).RefreshDataViews;
    end;



  • edited March 2014
    Nico Cizik (Digital Metaphors) wrote:



    Nico,
    Thanks for adding this. I can't for the life of me work out how to
    call it though. I'm not sure How I get to the datamanager in code.
    Could you give me a pointer please.

    Regards,
    Will.
This discussion has been closed.