When I set the contents of a textbox on my report to
count(Fields!DepartmentID.Value, "Departments")
my report runs.
However, when I try to use the same expression in my code, I keep getting the following compiler error:
[BC30451] Name 'Count' is not declared.
Do I need to qualify the Count function with an assembly path? If so, what is it?
Thx
Helen
When you write code behind the report you are strictly writing VB. Count is not a method in VB.|||I understand, but since a code expression in the report itself can call it, I wonder if I can reference an assembly so that my code-behind can also call it? It's got to be available somewhere.
thx
Helen
No comments:
Post a Comment