🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO with ODBC and Strings

#5072
From: Andreas von Linden
Date: Mon, 13 Aug 2001 17:29
15 lines
1351 bytes
Hi,
i use a ADOTable (or ADODataSet) and ADOConnection, both with it's default 
settings.
When i add a new Record or modify an existing Record everithing works well, 
when the Fields are Integers. But when one of the Fields is a String, i get 
an Error that one of the Dataproviders or another Service returned E_FAIL.
When i use an ADOCommand object with an INSERT or UPDATE statment i can 
insert the String value.
Anyone has an idear where to look for a solution or can give me a little 
hint?

I use BCB 5.0 Enterprise with Update and ADO Patch. MDAC 2.6 with SP1

Thx
  Andy
Technical Details
Message-ID: <90FCC8712fran0013fhkarlsruhed@207.105.83.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2a01364fbd27a6f1,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-13 10:45:23 PST
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO with ODBC and Strings
From: fran0013@fh-karlsruhe.de (Andreas von Linden)
Message-ID: <90FCC8712fran0013fhkarlsruhed@207.105.83.65>
User-Agent: Xnews/03.04.11
NNTP-Posting-Host: 193.196.41.250
Date: 13 Aug 2001 10:29:11 -0700
X-Trace: dnews 997723751 193.196.41.250 (13 Aug 2001 10:29:11 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews