1 <?xml version=
"1.0" encoding=
"UTF-8"?>
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: rep_navigator.xhp,v $
18 * This file is part of OpenOffice.org.
20 * OpenOffice.org is free software: you can redistribute it and/or modify
21 * it under the terms of the GNU Lesser General Public License version 3
22 * only, as published by the Free Software Foundation.
24 * OpenOffice.org is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU Lesser General Public License version 3 for more details
28 * (a copy is included in the LICENSE file that accompanied this code).
30 * You should have received a copy of the GNU Lesser General Public License
31 * version 3 along with OpenOffice.org. If not, see
32 * <http://www.openoffice.org/license.html>
33 * for a copy of the LGPLv3 License.
35 ************************************************************************
39 <helpdocument version=
"1.0">
41 <topic id=
"textsharedexplorerdatabaserep_navigatorxml" indexer=
"include" status=
"PUBLISH">
42 <title id=
"tit" xml-lang=
"en-US">Report Navigator
</title>
43 <filename>/text/shared/explorer/database/rep_navigator.xhp
</filename>
47 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id5823847"><bookmark_value>formulas in reports;editing
</bookmark_value>
48 <bookmark_value>functions in reports;editing
</bookmark_value>
50 <bookmark xml-lang=
"en-US" branch=
"hid/.uno:ReportNavigator" id=
"bm_id8798791" localize=
"false"/><paragraph role=
"heading" id=
"hd_id1821955" xml-lang=
"en-US" level=
"1" l10n=
"NEW"><variable id=
"rep_navigator"><link href=
"text/shared/explorer/database/rep_navigator.xhp">Report Navigator
</link>
51 </variable></paragraph>
52 <paragraph role=
"paragraph" id=
"par_id1150852" xml-lang=
"en-US" l10n=
"NEW">You can open the Report Navigator window of the
<link href=
"text/shared/explorer/database/rep_main.xhp">Report Builder
</link> by choosing
<item type=
"menuitem">View - Report Navigator
</item>.
</paragraph>
53 <paragraph role=
"paragraph" id=
"par_id1111484" xml-lang=
"en-US" l10n=
"NEW"><ahelp hid=
".">The Report Navigator reveals the structure of the report. You can use the Report Navigator to insert functions into the report.
</ahelp></paragraph>
54 <bookmark xml-lang=
"en-US" branch=
"hid/64521" id=
"bm_id7007354" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id8314157" xml-lang=
"en-US" l10n=
"NEW"><ahelp hid=
".">Click an entry in the Report Navigator. The corresponding object or area is selected in the Report Builder view. Right-click an entry to open the context menu.
</ahelp></paragraph>
55 <paragraph role=
"heading" id=
"hd_id2932828" xml-lang=
"en-US" level=
"2" l10n=
"NEW">To enter functions to the report
</paragraph>
56 <bookmark xml-lang=
"en-US" branch=
"hid/.uno:NewFunction" id=
"bm_id974456" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id5091708" xml-lang=
"en-US" l10n=
"NEW"><ahelp hid=
".">In the context menu of the Report Navigator, you see the same commands as in the Report Builder view, plus additional commands to create new functions or to delete them.
</ahelp></paragraph>
57 <paragraph role=
"paragraph" id=
"par_id9449446" xml-lang=
"en-US" l10n=
"NEW">Functions can be entered using a syntax as specified by the
<link href=
"http://en.wikipedia.org/wiki/OpenFormula">OpenFormula
</link> proposal.
</paragraph>
58 <paragraph role=
"paragraph" id=
"par_id4095583" xml-lang=
"en-US" l10n=
"NEW">See
<link href=
"http://wiki.services.openoffice.org/wiki/Database">Wiki page about Base
</link> for some more help regarding the functions in a report.
</paragraph>
59 <paragraph role=
"heading" id=
"hd_id311593" xml-lang=
"en-US" level=
"3" l10n=
"NEW">To calculate a sum for each client
<comment>copied from a mail by Ocke - did not test
</comment></paragraph>
62 <paragraph role=
"paragraph" id=
"par_id3948789" xml-lang=
"en-US" l10n=
"NEW">Open the Report Navigator.
</paragraph>
65 <paragraph role=
"paragraph" id=
"par_id5391399" xml-lang=
"en-US" l10n=
"NEW">Open the Groups entry and the group where you want to calculate the cost.
</paragraph>
66 <paragraph role=
"paragraph" id=
"par_id6989654" xml-lang=
"en-US" l10n=
"NEW">The group has a sub entry called functions.
</paragraph>
69 <paragraph role=
"paragraph" id=
"par_id1803643" xml-lang=
"en-US" l10n=
"NEW">Open the context menu (right click) on the functions entry, choose to create a new function, and select it.
</paragraph>
70 <paragraph role=
"paragraph" id=
"par_id868251" xml-lang=
"en-US" l10n=
"NEW">In the property browser you see the function.
</paragraph>
73 <paragraph role=
"paragraph" id=
"par_id6247749" xml-lang=
"en-US" l10n=
"NEW">Change the name to e.g. CostCalc and the formula to [CostCalc] + [enter your cost column name].
</paragraph>
76 <paragraph role=
"paragraph" id=
"par_id1565904" xml-lang=
"en-US" l10n=
"NEW">In the initial value enter
0.
</paragraph>
79 <paragraph role=
"paragraph" id=
"par_id1569261" xml-lang=
"en-US" l10n=
"NEW">Now you can insert a text field and bind it to your [CostCalc] (appears in the data field list box).
</paragraph>
82 <paragraph role=
"paragraph" id=
"par_id9256874" xml-lang=
"en-US" l10n=
"NEW">Maybe you have to set the initial value to the value of the field like [field].
<comment>these
3 paras copied from another mail by Ocke in users@dba.o.o
</comment></paragraph>
83 <paragraph role=
"paragraph" id=
"par_id4601886" xml-lang=
"en-US" l10n=
"NEW">If there are blank fields in the cost column, use the following formula to replace the blank fields' content with zero:
</paragraph>
84 <paragraph role=
"code" id=
"par_id1754509" xml-lang=
"en-US" l10n=
"NEW">[SumCost] + IF(ISBLANK([field]);
0;[field])
</paragraph><comment>need some real working examples. See i81874
</comment><comment>Formula
</comment>
85 <bookmark xml-lang=
"en-US" branch=
"hid/64522" id=
"bm_id2767113" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id8122196" xml-lang=
"en-US" l10n=
"NEW"><ahelp hid=
"." visibility=
"hidden">Enter the formula that defines the function. Use OpenFormula syntax.
</ahelp></paragraph><comment>Initial value
</comment>
86 <bookmark xml-lang=
"en-US" branch=
"hid/64523" id=
"bm_id301828" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id9909665" xml-lang=
"en-US" l10n=
"CHG"><ahelp hid=
"." visibility=
"hidden">Enter the initial value for the evaluation of the formula. Often this is set to
0 or to
1.
</ahelp></paragraph><comment>Deep traversing
</comment>
87 <bookmark xml-lang=
"en-US" branch=
"hid/64518" id=
"bm_id8996246" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id9141819" xml-lang=
"en-US" l10n=
"CHG"><ahelp hid=
"." visibility=
"hidden">If Deep traversing is enabled, functions are evaluated considering all lower levels of hierarchy. This would be used for instance for line numbering. If Deep traversing is not enabled, only the first level of hierarchy is evaluated.
</ahelp></paragraph><comment>Pre evaluation
</comment>
88 <bookmark xml-lang=
"en-US" branch=
"hid/64519" id=
"bm_id5729544" localize=
"false"/><paragraph role=
"paragraph" id=
"par_id6354869" xml-lang=
"en-US" l10n=
"CHG"><ahelp hid=
"." visibility=
"hidden">If Pre evaluation is enabled, functions are evaluated only when the report is finished.
</ahelp></paragraph>