Pass through query to SQL Stored Proc, pass parameter

urir10

New member
Local time
Today, 06:39
Joined
Oct 3, 2012
Messages
1
Hi all,

First post here and i have a question.

I currently have a pass through query the run a stored proc from sql.
The Stored proc take 1 parameter which is the timeid. In our access DB file we have a table called DateStamp that holds the time is for the current period.

How do i call the stored proc from sql while passing it the value from the date stamp table (which is only 1 row and hold the time id value)?

my current code is :
Code:
Exec  p_TMIreport @iTimeId=201208
 

Users who are viewing this thread

Back
Top Bottom