Page 1 of 1

Replace info from data source with conditions using macro

Posted: Fri Jul 19, 2013 7:36 pm
by zynder
Hi Guys,

I'm fairly new to Openoffice and I need your help.
I have a document here in openoffice with datasource. What I want to accomplish is to replace the sub template field with the description. See screenshot below.
291kwe8.png
For the first line of the doc file i want

Patient reports Fluctuations
change to
Patient reports Client notices fluctuations with his overall functioning.

So basically I want to replace Sub Template field values with Description field values depending on the Main Template field, which are the bold fonts on the document.

Can we do it just like that? Or do we need to put markings? I'm really out of ideas.
Does it need macro or just a simple formula? By the way, I don't know how to do macros either I'm really new to Openoffice.

Any help is greatly appreciated. Thanks. :)

Re: Replace info from data source with conditions using macr

Posted: Mon Jul 22, 2013 7:31 pm
by zynder
Bump. Any help guys? Can you give me some useful links that i can study?