Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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 November 7th, 2006, 08:00 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to love_spy74
Default Access problem

I need to execute a Store Procedure with VB 6. When i execute the program i receive the next message optional caracteristic is not implemented. ¿what is the problem? the execution stop in the last line.

cmdorders.ActiveConnection = MASTER
    cmdorders.CommandType = adCmdStoredProc
    cmdorders.CommandText = "SPVENTAXPERIODO"
    cmdorders.Parameters.Append cmdorders.CreateParameter("@fecha1", adDate, adParamInput, , CldInicial.Value)
    cmdorders.Parameters.Append cmdorders.CreateParameter("@fecha2", adDate, adParamInput, , CldFinal.Value)
    Set rsorders = cmdorders.Execute

 
Old November 8th, 2006, 11:29 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What is the error message?
Assuming the stored proc returns a recordset, and that you are passing valid data in the parameters, and assuming the parameters are the correct parameters for the stored proc, and so on: then it should work, of course. But since you haven't provided the error message, how can anyone help you?

Woody Z http://www.learntoprogramnow.com
 
Old November 8th, 2006, 11:44 AM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to love_spy74
Default

The message is "Microsoft SQL Server Driver Optional Caracteristic is not implemented.", the parameters are correct and the Sp works without problem...

 
Old November 8th, 2006, 02:32 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That message is telling us that the Driver or Provider you are using does not support something you are trying to do.
What is your connection string?

Woody Z http://www.learntoprogramnow.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with access emt_101 Access VBA 0 May 5th, 2008 12:21 PM
Access Problem dozzen Access VBA 12 March 2nd, 2007 07:51 AM
Access problem edWAR PHP How-To 2 July 13th, 2004 01:21 PM
Access Input Problem mikericc Access 2 April 5th, 2004 08:30 PM
Data access page access problem :) kev_79 Access 0 September 4th, 2003 04:02 PM





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