🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
4 messages
4 total messages Started by Ars Nova Wed, 01 Feb 2006 14:18
TADOQuery.Open() and Sybase
#649
Author: Ars Nova
Date: Wed, 01 Feb 2006 14:18
11 lines
1468 bytes
I work with Sybase Adaptive Server Anywhere 7.0 and Builder C++ 6.0.
I connect to my database via ADO through "ASAProv" provider, OLE DB Provider for Sybase, and my connection string is the follow:
"Provider=ASAProv;User ID=myUser;Password=myPassword;Data Source=X"
"ADOConnection.Open()" runs OK but when I try request data to any table with "ADOQuery.Open()"... It shows the error "Object or provider is not capable of performing requested operation" 
Why?, I need any solution.
Does the "TADOQuery object" have any special properties?

I need connect to through OLE DB Provider for Sybase, not OLE DB Provider for ODBC.

Thank you very much
Re: TADOQuery.Open() and Sybase
#650
Author: Viatcheslav V. Vassiliev
Date: Thu, 02 Feb 2006 07:46
29 lines
2185 bytes
Look for examples of connection strings at http://www.connectionstrings.com 
.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + 
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Ars Nova" <lmuniz@ars-nova.net> �������/�������� � �������� ���������: 
news:43e0d158$1@newsgroups.borland.com...
>
> I work with Sybase Adaptive Server Anywhere 7.0 and Builder C++ 6.0.
> I connect to my database via ADO through "ASAProv" provider, OLE DB 
> Provider for Sybase, and my connection string is the follow:
> "Provider=ASAProv;User ID=myUser;Password=myPassword;Data Source=X"
> "ADOConnection.Open()" runs OK but when I try request data to any table 
> with "ADOQuery.Open()"... It shows the error "Object or provider is not 
> capable of performing requested operation"
> Why?, I need any solution.
> Does the "TADOQuery object" have any special properties?
>
> I need connect to through OLE DB Provider for Sybase, not OLE DB Provider 
> for ODBC.
>
> Thank you very much
> 
Re: TADOQuery.Open() and Sybase
#651
Author: Scott Morris
Date: Thu, 02 Feb 2006 14:01
7 lines
1380 bytes
> I work with Sybase Adaptive Server Anywhere 7.0 and Builder C++ 6.0.
> I connect to my database via ADO through "ASAProv" provider, OLE DB 
> Provider for Sybase, and my connection string is the follow:

That version of ASA is no longer supported.  It may be that it is just not 
possible.  The first place to look is on the sybase website.  You might also 
consider posting to an ASA newsgroup. 
Re: TADOQuery.Open() and Sybase
#653
Author: Borland Newsgroups
Date: Thu, 02 Feb 2006 20:00
11 lines
1492 bytes
"Scott Morris" <bogus@bogus.com> wrote in message 
news:43e20fd8$1@newsgroups.borland.com...
>> I work with Sybase Adaptive Server Anywhere 7.0 and Builder C++ 6.0.
>> I connect to my database via ADO through "ASAProv" provider, OLE DB 
>> Provider for Sybase, and my connection string is the follow:
>
Thry various combinations of CursorType and CursorLocation.  The most common 
type would be ctStatic and clUseClient.

Mark 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads