GetChartDefByDbId

Description

Returns the QueryDef object associated with the specified DBID. GetChartDefByDbId is the same as GetChartDef, except the lookup is by DBID.

Note: This method is for Windows only.

Syntax

VBScript

workspace.GetChartDefByDbId dbid 

Perl

$workspace->GetChartDefByDbId(dbid); 
Identifier
Description
workspace
The Workspace object obtained from the current session.
dbid
A Long containing the DBID of the chart.
Return value
A reference to a QueryDef object.