Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > Visual Web Developer 2005
|
Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2006, 02:47 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use stored procedure in Access

Hi,

I defined a query in Access.
I created a AccessDataSource in an aspx page using Visual Web Developer.
I specify Access, oledb etc ... and in the window "how do you like to
retrieve data from db?"
i choose "specify a custom sql or stored procedure".
I go to next, but here, the radio input of "stored procedure" is not
enabled.

How can i specify a stored procedure?
Thanks for help


 
Old June 13th, 2006, 12:16 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

I am definitely not an expert by any means, but I don't think Access classifies the queries as Stored Procedures. What might work in this case, if in the Access Query, go to the SQL view for the query, and then use that SQL to use the Custom SQL option.

HTH

Mike

Mike
EchoVue.com
 
Old June 23rd, 2006, 09:59 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks

 
Old August 6th, 2006, 05:17 AM
Registered User
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By my knowledge it's not possible to use stored procedures when working with an MS Access back-end database.
grtz,
Jouri

 
Old August 6th, 2006, 05:31 AM
Registered User
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'd like to recall my last message.
Indeed it's possible to create stored procedures in MS Access. See article on: http://www.devcity.net/Articles/18/msaccess_sp.aspx
grtz,
Jouri






Similar Threads
Thread Thread Starter Forum Replies Last Post
Stored Procedure to Local Access Table mmcdonal Access VBA 3 September 21st, 2007 12:00 PM
Get Stored Procedure Output using Access VBA LandLocked Access VBA 3 June 20th, 2007 11:20 AM
Running oracle stored procedure from access Justine Access 9 December 21st, 2006 09:36 AM
how to use stored procedure in Access hertendreef ADO.NET 1 June 3rd, 2006 03:04 AM
How to add a stored procedure in Access badgolfer Access 2 June 17th, 2004 08:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.