Function ValidateDateParameter(DateID as String) as Boolean
If len(DateID) = 8 and isdate( mid(DateID,1,4) + "-" + mid(DateID,5,2) + "-" + mid(DateID,7,2) ) then
ValidateDateParameter = true
else if DateID="" then
ValidateDateParameter = true
else
ValidateDateParameter = false
end If
End Function
驗證日期格式函數
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
SSRS報表參數
split("[DimName].[DimName].[" + replace(trim(Parameters!ParameterName.Valu
hxp42
2020-07-07 21:50:59
SSRS報表中MDX語句數據集字段
hxp42
2020-07-07 21:50:59
Reporting Services 2005 for the DBA – Changing Application Pool Identity
hery2002
2020-06-14 22:31:47
SSRS報表訂閱實戰筆記
谷凯Jump
2020-05-17 08:38:42
SSRS 常用函數、表達式
qyx0714
2020-02-26 06:06:59
格式化報表中的維度參數
hxp42
2020-02-23 21:30:05
如何在需要的時候通過命令行觸發事件來運行SSRS的報表訂閱
jswxharry
2020-02-21 16:08:21
Reporting Services 2005 for the DBA – Double Hop Authentication
hery2002
2020-02-21 14:47:14
Reporting Services 2005 for the DBA – Connectivity Issues
hery2002
2020-02-21 14:47:14
Using Reporting Services to Search the SQL Server Log
hery2002
2020-02-21 14:47:03
SSRS 開發中的各種陷阱(持續更新中。。。)
燕翅虾
2020-02-20 16:52:25
SSRS報表參數
split("[DimName].[DimName].[" + replace(trim(Parameters!ParameterName.Valu
hxp42
2020-07-07 21:50:59
24小時熱門文章
-
使用c#強大的表達式樹實現對象的深克隆之解決循環引用的問題
-
GPT-4o 引領人機交互新風向,向量數據庫賽道沸騰了
-
free AI online tools All In One
-
痞子衡嵌入式:恩智浦i.MX RT1xxx系列MCU啓動那些事(12.A)- uSDHC eMMC啓動時間(RT1170)
-
基於Ubuntu-22.04安裝K8s-v1.28.2實驗(二)使用kube-vip實現集羣VIP訪問
-
基於Ubuntu-22.04安裝K8s-v1.28.2實驗(三)數據卷掛載NFS(網絡文件系統)
-
企業大模型如何成爲自己數據的“百科全書”?
-
本地SSL證書過期 輸入命令在IIS自動生成
-
.NET週刊【5月第2期 2024-05-12】
-
基於Ubuntu-22.04安裝K8s-v1.28.2實驗(一)部署K8s