Ken,
I've posted my message below to Andy, who tried to help me with this, but
I'm not sure how to make sure you see it as well -- except to send you
another copy (below).
The query string I used doesn't work, so I'm trying to find out where I went
wrong.
Thanks,
PAGA
"Ken Snell [MVP]" wrote:
> Pardon...I think it would be good to replace 2 "line break" combinations
> with one "line break" so that all double/multiple line breaks are converted
> to single ones.
> :-)
> --
>
> Ken Snell
> <MS ACCESS MVP>
>
> "Andi Mayer" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > On Wed, 9 Feb 2005 22:53:01 -0800, "PAGA"
> > <(E-Mail Removed)> wrote:
> >
> >>Attempting to clean a large table in Access 2000, I've replaced thousands
> >>of
> >>old HTML line-break tags with VBA line breaks, using an Update Query, as
> >>in:
> >>
> >>Replace ([Text]), "<BR><BR>", Chr(13) & Chr(10) & Chr(10))
> >>
> >>In many cases these line breaks have added to each other, so now I'm left
> >>with hundreds of line breaks too many. Where three or more VBA line breaks
> >>follow each other one after another, I have to reduce each group of three,
> >>four, or five Chr(10)s to just two at a time, leaving a standard
> >>single-line
> >>space between each paragraphs.
> >>
> >>This is my first attempt to use any programming language at all, so I need
> >>very basic help.
> >>
> > replace 3 "lineBreaks" with two and run a few times
> >
> > ---
> > If you expect an answer to a personal mail, add the word "manfred" to the
> > first 10 lines in the message
> > MW
>
>
>
|