07-10-2023 01:47 PM
Hi,
I want to load the existing report template and want to fetch a maximum Ychannel value. But the Y channel is managed as expression in template, how to get the maximum Y channel value.
Y channel expression varies with template file.
Example:
Ychannel expression used in template: @@iif(Data.Root.ActiveChannelGroup.Channels.Exists("Ch1"), Data.Root.ActiveChannelGroup.Properties("Ch2").Value, "")@@
How to get the maximum Y value?
regards,
Durai
07-11-2023 02:34 AM
Data.Root.ActiveChannelGroup.Channels(1).Maximum
07-11-2023 05:27 AM
I want to read the expression in report template and the answer of expression needs to be saved in a variable.
Expression in template: @@iif(Data.Root.ActiveChannelGroup.Channels.Exists("Ch1"), Data.Root.ActiveChannelGroup.Properties("Ch2").Value, "")@@
[ channels names and conditions will vary with respect to template loaded].]
Script to read the expression used in template and load the value of expression to variable.
ExpValue = script to read value comes from the expression.
regards,
Durai