Re: How to insert linefeed into the text of the Access table
- From: "Frank Hickman [MVP]" <fhickman_NOSP@xxxxxxxxxxxxxxx>
- Date: Fri, 22 Apr 2005 13:26:12 -0400
"?????" <@discussions.microsoft.com> wrote in message
news:6495C1D2-2F24-4BB5-8C86-6B2283C0EF33@xxxxxxxxxxxxxxxx
>I want to insert linefeed into the Access table using ADO.
> I tried something like below:
>
> sText = sText & Chr(10) & "AAA"
> com.CommandText = "UPDATE tableX SET columnA = '" & sText & "' WHERE .. "
> com.Execute
>
> I finally want to show the linefeed on the report which is produced from
> this table.
> But this does not seem to work. Linefeed is not inserted in the table at
> least by looking.
> When inserting linefeed from a form, or Cut&Paste the text from other
> application, it works well, but I need to insert linefeed from a program.
> How
> can I do this?
>
Have you tried...
sText = sText & Chr(10) & Chr( 13 ) & "AAA"
--
============
Frank Hickman
Microsoft MVP
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
.
- Prev by Date: RE: RecordCount
- Next by Date: RE: Migrating from Access to SQL Server 2000
- Previous by thread: JRO replacement?
- Next by thread: RE: Migrating from Access to SQL Server 2000
- Index(es):
Relevant Pages
|
|