Hi Guys,
I am moving to SQL Server and will be using MS Acess 2003 specifically as a Front End to a SQL Server 2008 database.
I have a form called FrmStats and a txt field called SName.
When I click on a button I want to send the txt as a parameter to a Stored Procedure on SLQ Server.
I know the code will look something like this
[FONT="]Dim DB As Database
Dim Q As QueryDef
Set DB = CurrentDb()
Set Q = DB.QueryDefs(" ???? ")
Q.SQL = "exec dbo.ReturnRecord " +"'Forms!FrmStats.SName'"
Also how then do I show the results on another form?
Regards
[/FONT]
I am moving to SQL Server and will be using MS Acess 2003 specifically as a Front End to a SQL Server 2008 database.
I have a form called FrmStats and a txt field called SName.
When I click on a button I want to send the txt as a parameter to a Stored Procedure on SLQ Server.
I know the code will look something like this
[FONT="]Dim DB As Database
Dim Q As QueryDef
Set DB = CurrentDb()
Set Q = DB.QueryDefs(" ???? ")
Q.SQL = "exec dbo.ReturnRecord " +"'Forms!FrmStats.SName'"
Also how then do I show the results on another form?
Regards
[/FONT]