Subject: Problems w/ Chapter 6 250-254 - SSRS
Posted By: MLRowe_AOL.com Post Date: 8/6/2007 6:27:35 AM
Having problems implementing logic found in Chapter 6 Pages 250-254. can not get customized code to "work". Both using code within <Code \> and using a DLL.

Function = :
Public Shared Function CapsForCities(ByVal strInput As String) As String
Dim i As Integer
Dim strArray() As String = Split(strInput,"")
Dim strReturn As String = String.Empty

For i = 0 To UBound(strArray)
strReturn = strReturn + UCase(Left(strArray(i), 1)) + LCase(Mid(strArray(i), 2)) + " "
Next i

Return strReturn.Trim
End Function

Also put the same function in DLL - Namespace Report_DLLs, strongly named the DLL and registered it in the GAC - Report able to "find" the DLL but DLL not in Object Browser, even after it has been referenced.

In Code case =Code. did not bring up Function - in DLL sense, =Report_DLLs was unrecognized.

What am I doing wrong?

VS = 8.0.50727.867 -- no SP's

Thanks,

Marv


Go to topic 63698

Return to index page 2
Return to index page 1