Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Illogical behaviour of Conditional Text Fields which are not being evaluated|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description helgekraak 2007-04-30 04:01:39 UTC
Please have a look on the attached files. In the Writer document you see a table with several conditional text fields in rows which are divided by "next dataset" fields, so that the conditional textfields of every row are assigned to a different dataset in the database. The table has 10 rows for 10 datasets but the mailmerge only gets 7 datasets from the database, so the conditional text fields in the lower 3 rows are not being evaluated. In the rows I use these two conditions rotationally: First: IF conditional_text_evaluation.abfrage_testtabelle.varchar_ignorecase NEQ "" THEN filled ELSE Second: IF conditional_text_evaluation.abfrage_testtabelle.varchar_ignorecase EQ "" THEN ELSE filled As you will see in the lower 3 rows of the resulting mailmerge document after the execution of the mailmerge it always shows "filled" though one of the conditions has the "filled" term as the THEN condition and the other has it as ELSE condition. I think that in case some of the conditional text fields don't retrieve a dataset to evaluate from the database due an insufficient number of datasets, always the ELSE condition should be used.
Comment 1 helgekraak 2007-04-30 04:03:13 UTC
Created attachment 44767 [details] Please register with name "conditional_text_evaluation"
Comment 3 helgekraak 2007-04-30 10:55:42 UTC
Maybe I was wrong saying it should be the ELSE value. Probably the fields not evaluating a dataset should be left empty generally.
Comment 4 Oliver Specht 2007-06-06 12:39:07 UTC
Set target to OOo Later