expression to get the name of a shared data source

  • hi,

    how can I display/show using a textBox expression the shared data source NAME currently used by a report?

    Something like

    ="Report data source " & datasource.name.value & "."

    thank you for your help.


    Kindest Regards,

    egpotus DBA

  • Here's all BOL has to say:

    The DataSources collection represents the data sources referenced in a published report definition. You may get different values for these properties in preview mode than when you deploy and view a published report.

    The following table describes the variables within the DataSources collection.

    Variable Type Description

    DataSourceReference

    String

    The full path of the data source on the report server. For example, /DataSources/AdventureWorks.

    Type

    String

    The type of data provider for the data source. For example, SQL.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply