![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to call this stored procedure, but I am unable to pass parameters to the @Start and @End. Is thier a way to pass parameters to a pass through query from MS Access? SELECT COUNT(dbo.tblPersActionHistory.PersActionID) AS [Total Ct], [dbo].fn_FindStartPayPeriod(dbo.tblPersActionHistory.Pe rsActionID, 2) AS [Signed PP] FROM dbo.tblPersActionLog INNER JOIN dbo.tblPersActionHistory ON dbo.tblPersActionLog.PersActionID = dbo.tblPersActionHistory.PersActionID WHERE (dbo.tblPersActionLog.StatusID BETWEEN 4 AND 7) AND (dbo.tblPersActionLog.Rejected = 0) AND (dbo.tblPersActionLog.IsPayAction = 0) AND (dbo.tblPersActionHistory.ActionTypeID = 5) AND (dbo.fn_IsParACorrection(dbo.tblPersActionHistory. PersActionID) = 0) AND ([dbo].fn_ParNotException(dbo.tblPersActionHistory.PersA ctionID) = 1) AND (dbo.tblPersActionHistory.ItemDTG >= @StartDate) AND (dbo.tblPersActionHistory.ItemDTG <= @EndDate) GROUP BY [dbo].fn_FindStartPayPeriod(dbo.tblPersActionHistory.Pe rsActionID, 2) |
#3
| |||
| |||
|
|
I would like to call this stored procedure, but I am unable to pass parameters to the @Start and @End. Is thier a way to pass parameters to a pass through query from MS Access? |
![]() |
| Thread Tools | |
| Display Modes | |
| |