Report Designer configuration questions
Hello.
I'm trying Report Builder 10.05 (demo) because we are considering
switching to it from QR.
I want to give to our customers a report designer a simple as possible
because most of them are not familiar with Components and Bands
concepts. I got some questions (I'm using the rbEndUsr demo):
1- is there a way to disable the Report Tree in the report designer ?
2- is there a way to get only the DbText when I drag-drop the Field
instead of the Label-DbText pair ?
3- is there a way to disable the Detail and Footer band ? Sometime we
got a static form like the taxes form (T4 in Canada) that doesn't
contain any detail or footer informations.
Thanks.
JFPicard
I'm trying Report Builder 10.05 (demo) because we are considering
switching to it from QR.
I want to give to our customers a report designer a simple as possible
because most of them are not familiar with Components and Bands
concepts. I got some questions (I'm using the rbEndUsr demo):
1- is there a way to disable the Report Tree in the report designer ?
2- is there a way to get only the DbText when I drag-drop the Field
instead of the Label-DbText pair ?
3- is there a way to disable the Detail and Footer band ? Sometime we
got a static form like the taxes form (T4 in Canada) that doesn't
contain any detail or footer informations.
Thanks.
JFPicard
This discussion has been closed.
Comments
Thanks for your interest in RB.
Here is an example of customizing menus and toolbars.
www.digital-metaphors.com/tips/Designer10_CustomizeMenusAndToolbars.zip
Use the Layout tab of the Data Tree to configure the drag and drop behavior.
(Layout tab appears at the bottom of the tree. This is covered in the
Developers Guide tutorials).
For a Form type of report, you want to remove the header and footer bands.
Size the detail band to be about the height of the page less margins. To
remove the header, select Report | Header from the main menu.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
First of all, I read your example but I can't figure it out.
lToolManager.Toolbars.ItemsByName['Report Tree'];
and
lToolManager.ToolWindows.ItemsByName['Report Tree'];
returns nil. What I'm doing wrong here ?
Can we do 2 and 3 programmatically ?
Thanks
JFPicard
I found how to disable the Report Tree, but I think I stumbled upon a
bug when I try to just have the Field Dropped on the Report.
There is my code:
lToolManager := ppDesigner1.Form.LayoutManager.ToolManager;
DTWin :=
TppDataTreeWindow(lToolManager.ToolWindows.ItemsByName['DataTreeWindow']);
DTWin.LabelGrid := False;
DTWin.CreateLabels := False;
DTWin.FieldGrid := False;
DTWin.CreateFields := True;
When I try this code and I open the Layout in the DataTree I have a A/V.
It seems caused by having the Drop Down beside 'All' empty. This code
doesn't help to have only the Field created.
Also, when I drop a Field on the report, the Field component got a width
of 0.0417 inches. Is there any way to increase the width in the code ?
Thanks for your time,
JFPicard
- here is an example I created that work in my testing here...
www.digital-metaphors.com/tips/ConfigureDataTreeLayoutSettings.zip
- to programmatically remove the header and footer bands from a report, try
calling myReport.Header.Free and myReport.Footer.Free.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com