I am to inform you that I have found the solution for this problem.
Or, at least, some kind of workaround.
Problem was, obviously, that source table for my CardPart page (that holds the chart) was Item and not T485 Business Chart Buffer...
The function "Initialize()" fills data in the variable "dotNetDataTable" which is used by the "update()"-function.
Following the advise from RockWithNAV and calling the Initialize()-function before the update-function solves your problem maybe (you don't get the error and you see data).
If this does not work, trace where the function "update()" is in use and take the code as a blueprint for your modification.
Thank you Hannes and RockWithNAV.
I tried to call Initialize before calling Update. I also tried to call initialize in function Update before the line on which it breaks.
Both yielded no results...
I am sooooo frustrated. No normal solutions work
I am to inform you that I have found the solution for this problem.
Or, at least, some kind of workaround.
Problem was, obviously, that source table for my CardPart page (that holds the chart) was Item and not T485 Business Chart Buffer...
Answers
IF ISNULL(DotNetVariable) THEN
DotNetVariable := DotnetVariable.Constructor.
Make the RunOnClient Property of the DotNetVariable to Yes.
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Check the function "Initialize()" in T485.
In debugger it breaks on Update function
Following the advise from RockWithNAV and calling the Initialize()-function before the update-function solves your problem maybe (you don't get the error and you see data).
If this does not work, trace where the function "update()" is in use and take the code as a blueprint for your modification.
Cheers,
I tried to call Initialize before calling Update. I also tried to call initialize in function Update before the line on which it breaks.
Both yielded no results...
I am sooooo frustrated. No normal solutions work
Always errors...
Or, at least, some kind of workaround.
Problem was, obviously, that source table for my CardPart page (that holds the chart) was Item and not T485 Business Chart Buffer...