IAdhocReport.Refresh

Fore Syntax

Refresh(Value: Object);

Fore.NET Syntax

None;

Parameters

Value. Data source to be refreshed.

Description

The Refresh method refreshes the specified dashboard data source.

Comments

The Value parameter may have the following values:

Fore Example

Executing the example requires a form containing the components:

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    Dashboard: IAdhocReport;
    DashboardDS: IAdhocDataSourceObjects;
Begin
    // Get dashboard
    Dashboard := UiDashboard1.Object.Bind As IAdhocReport;
    // Get dashboard data sources
    DashboardDS := Dashboard.DataSourceObjects;
    // Remove the first one from data sources
    DashboardDS.Remove(0);
    // Refresh the rest of the sources
    Dashboard.Refresh(DashboardDS);
End Sub UserProc;

After executing the example all dashboard data sources will be refreshed, except the first one.

See also:

IAdhocReport