🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Unknown OleVariant type

#249
From: ADC GmbH
Date: Tue, 13 Feb 2007 09:56
14 lines
1569 bytes
Hi you all,

I'm accessing a MSSQL-Server via ADO. I read the data returned by a 
SELECT-statement with the following line of code:
lOle = new OleVariant(fDM->ADOQuery->Recordset->Fields->Item[j]->Value);
fDM is an internal datamodule containing an ADOQuery and an 
ADOConnection. This worked fine, until I connected to a customer 
database: The varType of the lOle was 14 (0xE), which isn't defined in 
System.hpp.
Does anyboby know this type? The field in the database is a counter, 
this should return some kind of integer type.

Thanks in advance
Soeren
Technical Details
Message-ID: <45d18b40@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,d53137b541eef433,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 13 Feb 2007 10:56:00 +0100
From: ADC GmbH <ew@adcgmbh.de>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Unknown OleVariant type
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.153.221.162
Message-ID: <45d18b40@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171360576 62.153.221.162 (13 Feb 2007 01:56:16 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsgate.cistron.nl!transit.news.xs4all.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail