incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120278] Database field NEXT RECORD is set to sal_True instead of TRUE
Date Fri, 20 Jul 2012 16:40:13 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120278

--- Comment #9 from Ariel Constenla-Haile <arielch@apache.org> ---
(In reply to comment #8)
> The NEXT RECORD field still has no effect with AOo trunk r1362376 on Windows
> XP.

How are you performing your tests?
With the document attached in this bug?

Please note that the field condition is stored inside the ODT file, and the fix
for this bug is not intended to fix already stored documents.

Please try with a new document:

- File - New - Text Document
- Table - Insert - Table...
- in the "Insert Table" dialog select 3 rows and 3 columns
- open the fields dialog: Insert - Fields - Other
  This dialog is modal, so that you can move the cursor to position it in the
table cells while this dialog is open
- In the Fields dialog select the "Database" tab

Adding record number in first column:
- on the "Type" list, select "Record number"; on the "Database selection"
select "Bibliography" - "biblio"
- position the cursor in cell A1 and press the button "Insert" in the "Fields"
dialog to insert the field in that cell. Repeat the same procedure for cells A2
and A3

Adding Title in second column:
- on the "Type" list, select "Mail merge fields"; on the "Database selection",
select "Bibliography" - "biblio" - "Title"
- position the cursor in cell B1, and press the "Insert" button in the "Fields"
dialog to insert the field in that cell. Repeat the same procedure for cells B2
and B3

Adding the "Next record" field in the third column:
- on the "Fields" dialog, select from the "Type" list, "Next record"
  With the fix for the current bug, you should see in the "Condition" edit
control the value TRUE instead of sal_True
- position the cursor in cell C1, and press the button "Insert" to insert the
field in that cell. Repeat the same procedure for cells C2 and C3.


Filling the fields with data from the Bibliographic database:
- select menu "View" - "Data Sources"
- on the Data Source Browser, select from the tree list on the left:
Bibliography - Tables - Biblio
- on the database table, select the first three records (the first three rows
on the database table)
- select the icon "Data to fields" on the Data Source Browser toolbar

Result:

You have three different rows in the text table:

1 A Conceptual Guide to OpenOffice.org 2 for Windows and Linux
2 Practical OpenOffice.org (Practical Series)
3 Getting Started with OpenOffice.org 2.x

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Mime
View raw message