Hi,
I am using version 6.2.12.1017 of your Reporting components.
PROBLEM
=========
I am getting the following error in a textbox, when my report runs:
The expression contains undefined function call ConvertIntToString().
MORE INFORMATION
==================
- I have a C# Reporting project that contains the reports and a public static class that contain two public static methods.
- The methods names are "GetParentAppType" and "ConvertIntToString" and they both return a string.
- This class is in the same project as my report class.
- Here is the strange part: I call the two different methods in the Value Property of two different textboxes.
One textbox DOES find the call to the GetParentAppType Method, but the other textbox gives the error because for some reason it cannot find the ConvertIntToString function.
- Below is what has been entered in Value property of each textbox.
= Cbs.Reporting.Reports.CommonReportingMethods.ConvertIntToString(Fields.BowlerHasCountermeasure)
= Cbs.Reporting.Reports.CommonReportingMethods.GetParentAppType(Fields.parentAppType)
NOTE: I didn't type this in. I used the "Edit Expression" dialog and I picked my functions from the "Functions - Misc" treeview. I've attached an image of how the functions display in that dialog, which means in the designer, those functions are found. But at runtime, the ConvertIntToString function is not found.
I'm sure if I move these functions to the report's class (code-behind), it would probably find it, but I will want to share these functions across many reports so I don't want to duplicate them in every report.
Any ideas what is causing the error?
Thanks,
Michael
I am using version 6.2.12.1017 of your Reporting components.
PROBLEM
=========
I am getting the following error in a textbox, when my report runs:
The expression contains undefined function call ConvertIntToString().
MORE INFORMATION
==================
- I have a C# Reporting project that contains the reports and a public static class that contain two public static methods.
- The methods names are "GetParentAppType" and "ConvertIntToString" and they both return a string.
- This class is in the same project as my report class.
- Here is the strange part: I call the two different methods in the Value Property of two different textboxes.
One textbox DOES find the call to the GetParentAppType Method, but the other textbox gives the error because for some reason it cannot find the ConvertIntToString function.
- Below is what has been entered in Value property of each textbox.
= Cbs.Reporting.Reports.CommonReportingMethods.ConvertIntToString(Fields.BowlerHasCountermeasure)
= Cbs.Reporting.Reports.CommonReportingMethods.GetParentAppType(Fields.parentAppType)
NOTE: I didn't type this in. I used the "Edit Expression" dialog and I picked my functions from the "Functions - Misc" treeview. I've attached an image of how the functions display in that dialog, which means in the designer, those functions are found. But at runtime, the ConvertIntToString function is not found.
I'm sure if I move these functions to the report's class (code-behind), it would probably find it, but I will want to share these functions across many reports so I don't want to duplicate them in every report.
Any ideas what is causing the error?
Thanks,
Michael