MikeMcKeown
Programmer
Hi,
I am pretty new to SP's and I have created the SP below:-
CREATE PROCEDURE [update_Practices_1]
(
@N
ld [varchar](6),
@No_New [varchar](6)
)
AS UPDATE [Temp].[dbo].[Practices]
SET [No] = @No_New
WHERE
( [No] = @N
ld )
GO
With @N
ld and @No_New being the values of the combo boxes on a form in an adp project.
I was just wondering how the values of the combo box can be set to the variables in the stored procedure??
Thanks in advance
I am pretty new to SP's and I have created the SP below:-
CREATE PROCEDURE [update_Practices_1]
(
@N
@No_New [varchar](6)
)
AS UPDATE [Temp].[dbo].[Practices]
SET [No] = @No_New
WHERE
( [No] = @N
GO
With @N
I was just wondering how the values of the combo box can be set to the variables in the stored procedure??
Thanks in advance