Re: Halting a Repeating Macro on Not Found
- From: "Kathy Webster" <slickdock@xxxxxxxxx>
- Date: Wed, 02 Nov 2005 21:37:50 GMT
Hi Steve,
Yummy, its a lovely thing, and it works great! Thanks for all your help,
and for teaching me a new technique...the replace function in a query!
Kathy
"Steve Schapel" <schapel@xxxxxxxxxxx> wrote in message
news:Oe6PV2%233FHA.2196@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Kathy,
>
> It was the Update Query using the Replace() function that I was referring
> to. As I said, I tried it exactly as the syntax of your earlier message.
> I can't understand where the type conversion failure is coming into it.
> What version of Access are you using? Just as an experiment, on a backup
> copy, can you try replacing the ^ with a standard character rather than
> the carriage return, for example put this in the Update To row of the
> query...
> Replace([DESCRIPTION],"^","x")
> Also, can you please select SQL from the View menu in design view of the
> query, and copy/paste the SQL of the query into your reply. Thanks.
>
> --
> Steve Schapel, Microsoft Access MVP
>
>
> Kathy Webster wrote:
>> Hi Steve,
>>
>> What I would love help with is your alternate solution of the REPLACE
>> QUERY. That is what I got excited about in your reply, but I was unable
>> to make it work. Can you help me with that? I've never done one of them,
>> but it sounds fantastic!
>>
>> No, I am not trying to update any other fields at the same time.
>> The field is named DESCRIPTION, the data type is MEMO. The data in it
>> looks like this:
>>
>> A line of text^a second line of text^a third line of text^^a fourth line
>> of text.
>>
>> There may be one or more carets within the text OR NONE. That part is
>> inconsistent.
>>
>> Therefore, I feel this repeating macro solution is not the way to go,
>> especially since:
>> 1. it dies if there are NO carets, and
>> 2. it has to be executed repeatedly because of the 20 repetitions
>> limitation of the repeating macro.
>>
>> Thank you,
>> Kathy
.
- Follow-Ups:
- Re: Halting a Repeating Macro on Not Found
- From: Steve Schapel
- Re: Halting a Repeating Macro on Not Found
- References:
- Re: Halting a Repeating Macro on Not Found
- From: Kathy Webster
- Re: Halting a Repeating Macro on Not Found
- From: Steve Schapel
- Re: Halting a Repeating Macro on Not Found
- Prev by Date: Re: Halting a Repeating Macro on Not Found
- Next by Date: Re: Halting a Repeating Macro on Not Found
- Previous by thread: Re: Halting a Repeating Macro on Not Found
- Next by thread: Re: Halting a Repeating Macro on Not Found
- Index(es):
Relevant Pages
|