G
frank said:(blank message)
frank said:Thanks a lot!
Could you please give me a sample through ADO to create SP?
Dirk said:frank said:Thanks a lot!
Could you please give me a sample through ADO to create SP?
CurrentProject.Connection.Execute _
"CREATE PROCEDURE MyProcedure AS " & _
"PARAMETERS [ID to Delete?] INTEGER; " & _
"DELETE FROM Table1 WHERE ID = [ID to Delete?];"
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
it seems much easier to use the SQL Server method of using stored
procedures, even if just one SQL statement is allowed, then using
parameter queries that are harder to pass parameters into.
Dim rst As New ADODB.Recordset
Set rst = CurrentProject.Connection.Execute("Exec SelectUser
""AdminUser""")
I'm more into .NET & T-SQL now than Access, so it probably won't be
that big of deal for me. I'm excited to use the different
methodology, but I'm not sure when I'll get the next chance. There
doesn't seem to be as big of a Access consultant market, with the
snobbish C# developer's laughing at the "Access Programmer" moniker.
They sell internal IT execs on spending more money on overblown
systems that don't work as well as an Access app.
Sorry, that was my rant for the day.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.