Hi,
I am trying to show a caculate result in a specific format in the group footer row. If I only format a single aggregate value, it works fine but a double parameter does not work. I get the error message "An error has occured while processing TextBox 'textBox5':
The expression contains undefined function call GetTimeString2()"
So basically if I do this
=GetTimeString1(Sum(Fields.Hours))
or I do this
=GetTimeString1(Sum(Fields.Minutes))
it works fine, but if I do this
=GetTimeString2(Sum(Fields.Hours), Sum(Fields.Minutes))
it does NOT work and I get the above error message and even if I try this
=GetTimeString2(Sum(Fields.Hours), 40)
it does NOT work, but this will work
=GetTimeString2(2, 40)
So basically if there is an aggregate, one or many doesn't matter, it will not work.
the static function signature are
=========================
public static string GetTimeString1(int hrs)
public static string GetTimeString2(int hrs, int mins)
Can someone point out why it won't take two aggregates in the function. I looked at the limitations post and it does not look like this is a limitation.
Thanks for your assistance.
- Mans.
I am trying to show a caculate result in a specific format in the group footer row. If I only format a single aggregate value, it works fine but a double parameter does not work. I get the error message "An error has occured while processing TextBox 'textBox5':
The expression contains undefined function call GetTimeString2()"
So basically if I do this
=GetTimeString1(Sum(Fields.Hours))
or I do this
=GetTimeString1(Sum(Fields.Minutes))
it works fine, but if I do this
=GetTimeString2(Sum(Fields.Hours), Sum(Fields.Minutes))
it does NOT work and I get the above error message and even if I try this
=GetTimeString2(Sum(Fields.Hours), 40)
it does NOT work, but this will work
=GetTimeString2(2, 40)
So basically if there is an aggregate, one or many doesn't matter, it will not work.
the static function signature are
=========================
public static string GetTimeString1(int hrs)
public static string GetTimeString2(int hrs, int mins)
Can someone point out why it won't take two aggregates in the function. I looked at the limitations post and it does not look like this is a limitation.
Thanks for your assistance.
- Mans.