从数据集中过滤假期表

时间:2018-07-10 17:06:53

标签: vb.net

我已经具有从数据集中删除周末的功能:

= DateDiff("ww", Fields!Adj__Date_Received.Value, Fields!QC_Completed.Value, vbMonday)
+DateDiff("ww", Fields!Adj__Date_Received.Value, Fields!QC_Completed.Value, vbTuesday)
+DateDiff("ww", Fields!Adj__Date_Received.Value, Fields!QC_Completed.Value, vbWednesday)
+DateDiff("ww", Fields!Adj__Date_Received.Value, Fields!QC_Completed.Value, vbThursday)
+DateDiff("ww", Fields!Adj__Date_Received.Value, Fields!QC_Completed.Value, vbFriday)

现在也尝试删除假期。但无法弄清楚。我有此表dbo.Holiday_Table,其中包含假期的数据。只需表达即可使用。请帮忙。谢谢!

0 个答案:

没有答案