Monday, February 23, 2009

Global Collections


Expressions Can Use Global Collections



  • Fields

    • to access values from current row

      e.g.


      =Fields!LastName.Value



  • Globals

    • to access global report data


      e.g.,

      =Globals!PageNumber

      =Globals!TotalPages

      =Globals!ExecutionTime, etc.



  • User

    • to access info about authenticated user running the report


      e.g.,

      =User!UserID

      =User!Language



  • Parameters

    • to access value of input parameters


      e.g.,


      =Parameters!Country.Value



  • ReportItems

    • to access values from other sections of report


      e.g.,

      = ReportItems!txtQuantity.Value * ReportItems!txtItemCost.Value



No comments: