search and replace in a mergefield

R

Rinmus

I am looking for something like ( if Mergefield contains("searchstring")
replace it by "newstring"

bu t i do not know how to do this that is all
 
P

Peter Jamieson

The trouble is that the "field language" does not have a construct that can
do that, which is why I made the other suggestions.

But if you can't use /any/ of those suggestions and you can't modify the
data source then you can't really solve the problem. There is one other
approach involving SQL (which can sometimes be used with a plain text data
source) but it also requires you to use VBA and I get the impression that
you are not allowed to do that.

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top