Peter thanks alot for the very swift response!
> What is probably required here is to suppress the blank lines in the
> database itself - if you have no control over what is in it, then there's
> not a lot you can do about that unless you can construct the address you
> want from individual fields in the database. If you do have control I'd
> suggest adding a view/stored procedure/function that does the necessary
> stripping.
You are correct we are using SalesLogix, however I have severely
limited knowledge/experience of the back end and therefore I am
currently unable to add any procedures or anything at the source.
> rather than using Word's merge process - if it's the latter, maybe they have
> some switch or other than can remove blank lines?
I will contact the supplier to find out if they have a switch of their
own - thanks.
> When your data is inserted, does it come in with paragraph marks at the end
> of each line, or hard line breaks, cf. the ones you get using
> ctrl-shift-enter? If the latter, you might be able to work around using Word
> paragraph formatting features.
When the data is inserted there are no line breaks of any kind, and if
I were to have the fields in a row, data could merge in this way:
AddressLine1CityPostcode
I'm not sure if this will help, but using standard SalesLogix merge
fields the supression works, and the code is as follows:
{ MERGEFIELD "Contact_Address_Address1" <SLXMergeField name =
"ADDRESS1 calculated="false" formatType="0" formatString=""> <Join
type="inner"> <From table="CONTACT" field="ADDRESSID"/> <To
table="ADDRESS" field="ADDRESS"/> </Join></SLXMergeField> }
Again, thanks for the help Peter. I'll contact the supplier to see if
they have any answers too!