R
Rachel
Hi,
I have the following stored procedure in sql server 2000 and I am
trying to use text boses on a form (adp) to pass parameters to this
stored procedure. I then want to use the temp table created for a
report. I have named the text boxes on the form: s_date and e_date and
set the control source to =myproc2 however it doesnt work and i get
this error: #name?), in the text boxes in form view.
ALTER procedure myproc2
@s_date datetime, @e_date datetime
as
begin
delete from temp
insert into temp SELECT Client_ID,[Quit Date], Quit, Lastname
FROM tbl_Client
where [quit date] between @s_date and @e_date
end
Any help is greatly appreciated
Rachel
I have the following stored procedure in sql server 2000 and I am
trying to use text boses on a form (adp) to pass parameters to this
stored procedure. I then want to use the temp table created for a
report. I have named the text boxes on the form: s_date and e_date and
set the control source to =myproc2 however it doesnt work and i get
this error: #name?), in the text boxes in form view.
ALTER procedure myproc2
@s_date datetime, @e_date datetime
as
begin
delete from temp
insert into temp SELECT Client_ID,[Quit Date], Quit, Lastname
FROM tbl_Client
where [quit date] between @s_date and @e_date
end
Any help is greatly appreciated
Rachel