reporting service 函数怎么调用
请问。如果在Reporting Service中自定义了函数。怎么样才可以在表达式中调用呢??
谢谢啊。。
[解决办法]
code.customer(fields.value,"phone")
[解决办法]
'建立自定函,在CODE,代如下:
'建立日期
Public Function ShowShipMentDateArea (ByVal ShipMentDate01,ByVal ShipMentDate02) As String
Dim S as String
If ShipMentDate01="" Then
S=""
Else
S=ShipMentDate01
End If
If ShipMentDate02="" Then
S=S+""
Else
S=S+"~"+ShipMentDate02
End If
Return S
End Function
--可在TextBox里面按如下方式用:
="出日期:"+code.ShowShipMentDateArea(Parameters!ShipMentDate01.Value,Parameters!ShipMentDate02.Value)