Conditional text & Database field contents problem

Writing a book, Automating Document Production - Discuss your special needs here

Conditional text & Database field contents problem

Postby flip111 » Tue Oct 13, 2015 6:33 pm

I have tried everything that I know how and I cannot get this to work. <> means exact expression used in OO
1. new document in writter
2. connect database "Data" with tables "ak", "dod" and "FA" and
3. use "Data to Text" to insert fields from Data
4. set conditional text (pic 001)

here starts the problem:
1. Load data from table "dod" via "Data to Fields" button -> conditional text works correctly (pic 001)
2a. Load data from other table then "dod" -> conditional text change value from "Date:" to "ICO:" (compare pic 04before and 002 after)
2b. same problem happens when exporting to PDF: exported document has conditional text value changed from "Date:" to "ICO:"

I tried everything including setting Fields/Function/Condition as <Data.dod.ICO EQ ""> as well as <[Data.dod.ICO] EQ ""> but problem remains (conditional text value always changes from "Date:" to "ICO:")

for better understanding I didn´t set variables (pic 003), cause I don´t know if it has anything to do with this problem,
If it has, please write me example of of "Name" and "Value" fields in "Fields" option according to values I mentioned above (Data.dod.ICO EQ "")
(for example Name: Data.dod.ICO Value: EQ "" ect)

At this point, I am frustrated completely.
Posts: 1
Joined: Tue Oct 13, 2015 4:35 pm

Re: Conditional text & Database field contents problem

Postby acknak » Fri Oct 16, 2015 1:25 am

Were you able to resolve the problem?

You may not have received any suggestions because the problem is not clear--at least I can't follow what you're doing.

If the problem is as complex as it seems to be, you may need to attach a sample data source and a merge document to go with it so we can see exactly what you're working with.
AOO4/LO5 • Linux • Fedora 23
User avatar
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Return to Advanced Uses

Who is online

Users browsing this forum: No registered users and 4 guests