请问。如果在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)