🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

problem with recordset (OleVariant)

#5351
From: andy
Date: Fri, 08 Jun 2001 14:54
15 lines
1225 bytes
Hi ,i am a beginner in c++ builder.

I have 1 ADOConnection control on the form and connection is set to SQL

I want use recordset object !!
in my code is :
---------------------------------

_di__Recordset record;
record->Open(L"Select au_id, phone, au_lname from authors",ADOConnection1);


But there is  a error :   Cannot convert 'TADOConnection *' to 'OleVariant'

What have i do ?
Technical Details
Message-ID: <3b20e6f2_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2ed16aa07728ba78,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-08 08:15:37 PST
From: "andy" <Mihalik@novycas.sk>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: problem with recordset (OleVariant)
Date: Fri, 8 Jun 2001 16:54:46 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
NNTP-Posting-Host: 212.5.212.217
Message-ID: <3b20e6f2_2@dnews>
X-Trace: dnews 992012018 212.5.212.217 (8 Jun 2001 07:53:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews