🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MS Access and TMemo field

#3156
From: Ronald Loonstra
Date: Fri, 22 Nov 2002 20:05
28 lines
1661 bytes
Colin,

Maybe this helps:

TStream *S = DataSet->CreateBlobStream(DataSet->FieldByName(FDataField),
bmWrite);
WP->Lines->SaveToStream(S);
delete S;

In this case DataSet is a pointer to a TADODataSet, FDataField is the
fieldname, WP is a TRxRichEdit.

--
HTH

Ronald Loonstra
CodeFit Applications
www.codefit.nl

"Colin Darcey" <colin@datapak.com.au> schreef in bericht
news:3dd5da85$1@newsgroups.borland.com...
> I receive "Invalid precision" error when updating a Memo type field in MS
> Access if the TMemo->Text contains more than 256 chars. Is there a
specific
> way to update these fields in this case instead of treating it a a normal
> string field?
>
>
Technical Details
Message-ID: <3dde8c5d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3dd5da85$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,c7b236c7cc98e57f
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-11-22 12:02:55 PST
From: "Ronald Loonstra" <r.loonstra@codefit.nl>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3dd5da85$1@newsgroups.borland.com>
Subject: Re: MS Access and TMemo field
Date: Fri, 22 Nov 2002 21:05:45 +0100
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 217.121.245.5
Message-ID: <3dde8c5d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1037995101 217.121.245.5 (22 Nov 2002 11:58:21 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail