how to deal with "ds1.fld1[]"

Apr 20, 2008 at 2:38 AM
I want to build a report enginer. ds1.fld1[] is a list var, and i want to calc it by my method, but Irony consider it array. How can i do enter Variables_ResolveVariableValue, and e.VariableName=ds1.fld1[]?
Apr 22, 2008 at 3:58 AM
Since the expression is a string, you can do some manipulations on it before passing it to flee.

So you could have an expression like ds1.fld1[]
Which you can transform into ds1_fld1_list to get the expression to compile and then map that name back to your original variable in the ResolveVariableValue event.

It's not a perfect solution. I'm currently discussing a possible improvement with another user which will provide a better alternative.