我有一个检索日期的存储过程:
ALTER PROCEDURE [dbo].[GetFirstContractFirstDate]
@Classifierid uniqueidentifier = 'C53387E0-AD2B-E511-9421-005056BAB261'
AS
BEGIN
SET NOCOUNT ON;
SELECT
CONVERT(DATE, MIN(o.tisa_RegistrationDate), 103) AS startDate
FROM
Opportunity AS o
INNER JOIN
SystemUserBase AS u ON u.SystemUserId = 'DB159B57-4A3D-E311-93EC-00155D46BF05'
LEFT OUTER JOIN
UserSettingsBase AS us ON us.SystemUserId = u.SystemUserId
INNER JOIN
tisa_Article AS art ON art.tisa_ArticleId = o.tisa_ArticleId
INNER JOIN
tisa_Address AS addr ON addr.tisa_AddressId = art.tisa_AddressId
WHERE
(addr.tisa_ClassifierId = @Classifierid)
在我的SSRS报告中,我有两个参数@Classifierid
和@startDate
。
当我第一次运行报表并且选择classifierid的值时,我得到了所需的日期,但是当我更改classifierid的值时,startDate默认值不会刷新。该报告显示第一次检索的默认日期。如何自动刷新参数@StartDate
?
第一次运行报告
StartDate未刷新