Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

For my mailmerge I want to set up a conditional paragraph conditional 
on more than one thing.

I've got a database field "Country", and if this is blank or contains 
"Scotland" I want the paragraph hidden.

I *think* the condition ought to be

    NOT Country OR Country EQ 'Scotland'

but it doesn't work.  I thought blanks at the end of the country 
field might cause a problem so I tried

    NOT Country OR 'Scotland' EQ Country

but that didn't work either.

The help states that the fields ought to be written as 


but that doesn't make any difference either and the single condition 
"NOT Country" does work, although it's insufficient for my needs.

Have I got my logic entirely wrong, or can the condition expression 
not have more than one part?

Mark Stanton
One small step for mankind...

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.