🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #650

Re: TADOQuery.Open() and Sybase

#650
From: 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
> 
Technical Details
Message-ID: <43e1b81d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43e0d158$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,edd5ff595e151e76
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <43e0d158$1@newsgroups.borland.com>
Subject: Re: TADOQuery.Open() and Sybase
Date: Thu, 2 Feb 2006 10:46:44 +0300
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 85.93.138.132
Message-ID: <43e1b81d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138866205 85.93.138.132 (1 Feb 2006 23:43:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail