Hi all,
Ran into a bit of a problem and i can’t quite figure it out.
Was using assign to perform select and sum on a datatable to extract a value i needed. Like this:
ExtractedValue = MyDataTable.AsEnumerable().Sum(Function(x) If(IsNumeric(x("MyColumn").ToString.Trim),CDbl(x("My Column").ToString.Trim),0)).ToString
The project was created sometime in 2019. Worked perfectly until today, when i decided to update dependencies, after which, i am getting the following error message for this assign activity:
" Compiler error(s) encountered processing expression …(the above expression)…Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class."
Does anyone have any idea what is causing this?
Thank you in advance for your answers and have a good one!
5 posts - 2 participants