Showing results 1 to 6 of 6

Thread: Report-Visual Studio

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    28.03.2017
    Posts
    11

    Default Report-Visual Studio

    Iím new in Zenon and Iím using the Report Viewer (Repor-Visual Studio) tool in Zenon Supervisor.
    I have a dataset with some variables and Iím trying to make a chart.
    Iím writing in the expression the code to visualize the value, but it only shows the first variable in the dataset and it seems that I canít choose within my variables.
    I found functions ďFirstĒ and ďLastĒ that helped me choosing 2 of my variables in that dataset, Iím trying to figure out how to choose a variable that I desire from my dataset and not only the first or the last.
    I also found the function ďChooseĒ and it works for the first, writing Choose(1,Fields!VALUE.Value) it shows me the value of the first variable but it doesnít work with 2 or 3 for the second and the third.
    How can the system detect the first or the last of the variables? Are there any indexes to enter the ďarrayĒ of variables? And what is the code to enter a cell of that array? Fields!VALUE.value(0) or something similar doesnít work.
    Iím looking for the way to select and show in the chart one of the n variables from a dataset, now I have n dataset for n variables because of this problem and it isnít a good configuration.
    Thankís for your help.
    Attached Thumbnails Attached Thumbnails Screenshot_2.png   Screenshot_4.png  

Similar Threads

  1. Microsoft Visual C++ Runtime Library Error
    By douglasm in forum VSTA
    Replies: 5
    Last Post: 5th April 2019, 06:54
  2. Visual Basic Debugger
    By jebote in forum VBA
    Replies: 2
    Last Post: 7th September 2012, 08:22
  3. Form visual style windows XP/7
    By ippela in forum VSTA
    Replies: 1
    Last Post: 26th September 2011, 00:20
  4. Form visual fault
    By ippela in forum VSTA
    Replies: 2
    Last Post: 23rd September 2011, 09:20
  5. how open vipwin from visual basic?
    By draganchem in forum VBA
    Replies: 1
    Last Post: 2nd June 2010, 12:14

Tags for this Thread

Posting Rules

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