hartmut77 Posted June 23, 2005 Posted June 23, 2005 I have a few phrases that have to be in Bold only when they are being uses in a a certain sentence. In other worlds. If the "mary had a little lamb" comes up it should be bold. but if the phrase comes up "the dish ran away with the spoon" that should be plain text. Is there a way to make the style change to bold when having a certain phrase or answer and having it return to plain text style when that answer is not being used?
Slobey Posted June 23, 2005 Posted June 23, 2005 Try this: Case( PatternCount(Book Name ; "mary had a little lamb"); Substitute (Book Name ; "mary had a little lamb" ; TextStyleAdd ("mary had a little lamb" ; Bold ) ); TextStyleAdd (Book Name ; Plain ) )
Slobey Posted June 23, 2005 Posted June 23, 2005 sorry I forgot to change the field name. Book name is the field name with your phrase in it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now