Showing results 1 to 3 of 3

Thread: Using parameters and variables in Report Viewer

  1. #1

    Default Using parameters and variables in Report Viewer

    Hello
    I have some question about using Microsoft Visual Studio Report Builder.
    1. I added variable in Report Properties. After it my report stopped to show any data.
    I deleted this variable but report didnít start to work correctly. Is it possible to add variables and use them in report?

    2. I tried to use parameters in my report that have a possibility to filter data from dataset.
    But I can't initialize my parameter using value from dataset which attached to online variable from zenon. Parameter didnít get init value. Is it possible to do it? Can you help me?
    If I used constant value as init value when parameter worked correctly and I could use this parameter as a filter for dataset.

    My OS is Windows 7 x32 and Sprecon-V460 v7.10 build 7770.
    Best regards
    Dmitry
    Attached Thumbnails Attached Thumbnails parameter.jpg   parameter_constant.jpg   parameter_init.jpg   variable_err.jpg  

  2. #2
    Join Date
    24.07.2008
    Location
    Salzburg
    Posts
    89

    Default AW: Using parameters and variables in Report Viewer

    Hi Dmitry,

    unfortunately report parameters are not supported.

    The use of variables in a report should work without problems.
    I've tested it with the following variable:
    Name: Var1
    Value: Expression-> =AVG(Fields!VALUE.Value, "ONLINE1")

    Then I've used it in an expression of a textbox:
    =Variables!var1.Value

    Regards,
    Konstantin

  3. #3
    Join Date
    17.02.2020
    Posts
    20

    Default Re: AW: Using parameters and variables in Report Viewer

    Quote Originally Posted by konstantinf View Post
    Hi Dmitry,



    unfortunately report parameters are not supported.


    Hello,

    is there an update regarding this?
    The intention is to make it possible for the end user/operator to select or filter data directly on the Report Viewer screen. There is a simple chart that needs to display the same data of thousands of similar devices. being able to select which device to display within the same report would be very useful.

Similar Threads

  1. Report Generator, Reading of Parameters from Cells for SQL-Query
    By luc in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 4
    Last Post: 9th December 2013, 09:23
  2. Report Viewer
    By sidramsatyal in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 3
    Last Post: 5th September 2013, 06:13
  3. Bool variables in Report viewer
    By sidramsatyal in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 6
    Last Post: 2nd September 2013, 13:29
  4. Trend with Report Viewer
    By eyup.agpinar in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 1
    Last Post: 20th August 2013, 00:32
  5. Report Viewer
    By navaneet in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 3
    Last Post: 8th June 2013, 11:55

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •