🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can not set value to a fixed char field!!!

#5015
From: Alex
Date: Wed, 22 Aug 2001 01:45
11 lines
1471 bytes
I've found more info about this, but still not have a solution.
when step over this line adotable->FieldByName("a")->AsString = "AAA";
BCB throw a exception said project raised a exception class EOleException
with message "unknown error". But When I run it out of IDE, nothing happened.
should I update the ado express?

internal@fm365.com (Alex) wrote in message news:<7dda35b.0108210109.11a4d2bc@posting.google.com>...
> a is a char(3) field.
> adotable->FieldByName("a")->AsString = "AAA";
> I've tried all I can do with ansistring and char, but just can't work.
> help!
Technical Details
Message-ID: <7dda35b.0108211745.6411ecb8@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail
References: <7dda35b.0108210109.11a4d2bc@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,6728aaf8184b401c
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-21 18:45:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail
From: internal@fm365.com (Alex)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Can not set value to a fixed char field!!!
Date: 21 Aug 2001 18:45:14 -0700
Organization: http://groups.google.com/
Lines: 11
Message-ID: <7dda35b.0108211745.6411ecb8@posting.google.com>
References: <7dda35b.0108210109.11a4d2bc@posting.google.com>
NNTP-Posting-Host: 211.167.224.49
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 998444715 3051 127.0.0.1 (22 Aug 2001 01:45:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 22 Aug 2001 01:45:15 GMT