DataSource
DataSource
is a text function that returns the application name, database, or alias table name of a grid. Use DataSource
in a text box, text cell, or a row or column heading.
Syntax:
<<DataSource("GridName.Axis[ID],InfoType")>>
Argument | Description |
---|---|
GridName |
(Required) Any grid in a report, enclosed in quotes. |
Axis[] |
(Optional) A pointer to a design segment of the grid. Axis can be one of the following keywords: For example,
When |
ID |
(Required if For example,
|
InfoType |
(Required) One of the following keywords:
Note: "Server" is not supported as an argument for InfoType. for Oracle Hyperion Planning data sources. |
Note:
All arguments are case insensitive.
Example 1:
Insert data source information in your report:
<<DataSource("Grid1", App)>>
Example 2:
Show the database name of the data source associated with the heading where the function was entered:
<<DataSource(cur, DB)>>
Note:
DataSource
supports the current
keyword. See Using the Current/Cur Keyword in a Text Function.