S
Steve Burrows
I have a SQL Server sp that requires 2 parameters. I wish to run the sp by
clicking a button on my user form in the Access Project. The two parameters
are all entered by the user in the form in two text boxes.
What I want is to know the VBA to call the sp and pass the parameters, so I
want something like:
param1 = me!text1
param2 = me!text2
docmd.execsp "sp_name", param1, param2
The execsp is my invention! Does anyone know the correct syntax and
instruction to do this?
Steve Burrows
clicking a button on my user form in the Access Project. The two parameters
are all entered by the user in the form in two text boxes.
What I want is to know the VBA to call the sp and pass the parameters, so I
want something like:
param1 = me!text1
param2 = me!text2
docmd.execsp "sp_name", param1, param2
The execsp is my invention! Does anyone know the correct syntax and
instruction to do this?
Steve Burrows