Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to read & write "text" field with ADO(using VC)?

0 views
Skip to first unread message

Vincent Ye

unread,
Dec 19, 2001, 2:45:39 PM12/19/01
to
Hi, everyone,

I have an question:

I am using SQL Server 2000, there are some tables which include some "TEXT"
field. now I am using ADO and VC to develop an application. It needs to read
& modify the "TEXT" field. How can I do that?

Thank you very much.

Regards

Vincent

Val Mazur

unread,
Dec 19, 2001, 2:59:45 PM12/19/01
to
Hi Vincent,

You need to use AppendChunk method of field to save
changes into text field and GetChunk to read from text
field.

Val

>.
>

Vincent Ye

unread,
Dec 19, 2001, 3:37:29 PM12/19/01
to
Hi, Val,

Thank you for your help. Could you tell me more detail, like code sample?

Vincent

"Val Mazur" <grou...@hotmail.com> wrote in message
news:056c01c188c7$b4bcdc30$39ef2ecf@TKMSFTNGXA08...

Val Mazur

unread,
Dec 19, 2001, 4:14:58 PM12/19/01
to
Hi,

Here is article from MSDN online

http://support.microsoft.com/default.aspx?scid=kb;EN-
US;q180368

Val

>.
>

Vincent Ye

unread,
Dec 19, 2001, 11:01:35 PM12/19/01
to
Hi, Val

this article shows how to program in VB, but how to program in VC?

Thank you again

Vincent

"Val Mazur" <grou...@hotmail.com> wrote in message

news:095901c188d2$36c75f70$b1e62ecf@tkmsftngxa04...

Val Mazur

unread,
Dec 20, 2001, 10:49:38 AM12/20/01
to
Hi Vincent,

Unfortunately I am not a VC guy. I am using VB. But idea
is same - you need to use AppendChunk and GetChunk methods.
If you know how to work with ADO recordsets, then it
should not be a big problem for you. Just read VB code (it
quite clear) and try to reproduce same logic in your
application

Val

>.
>

0 new messages