Please enable JavaScript to view this site.

R:BASE 11 Beginners Tutorial

Navigation: Lesson 5 - Report Output

Placing Objects in the Break Header

Scroll Prev Top Next More

Now you're ready to place the FlightDate objects into the Break Header section. You've already placed both Label and DB Label objects on this report. You use the same procedure to place objects in the Break Header section as you did to place objects within the Detail section. The first thing we must do is stretch the Break Header section down so we can place the objects inside it.

 

To place text objects:

 

1.In the "Report Designer" window, hover your cursor over the "Break Header[0]: FlightDate" section, click and drag the band a 1/2 inch down.
2.From the "Standard Controls" toolbar, choose "Label". Remember to select an existing object first to capture the same font.
3.Click the left mouse button near the left margin in the Break Header section.

 

The "Label7" text will appear as well as the "Edit" toolbar becomes enabled.

 

4.Enter "Flight Date:" in the Edit toolbar.
5.Select the "Right Justify" button on the "Format" toolbar.
6.Stretch the width of the Label object so all of the letters are visible.

 

Now, place the FlightDate DB Label object.

 

To place the DB Label objects:

 

1.In the "Report Designer", choose the "DB Label" button from the "Database Controls" toolbar.
2.Click the left mouse button immediately to the right of the "Flight Date:" Label.

 

The "DBText6" text will appear as well as the "Edit" toolbar becomes enabled.

 

3.Select "FlightDate" from the list of columns within the "Edit" toolbar.
4.Select the "Left Justify" button on the "Format" toolbar.
5.Stretch the width of the DB Label object to about 3 inches by dragging the handlebars.
6.Click the mouse button in an empty area of the workspace to deselect the object.

 

The Label and DB Label objects for the breakpoint, FlightDate, are placed in the Break Header section. Next, we align them to make sure they are printed on the same line.

 

To align the FlightDate Label and DB Label objects:

 

1.In the "Report Designer" window, click on the "Flight Date:" Label object.
2.Press and hold the [Shift] key, then click on the DB Label object for FlightDate.

 

The objects are enclosed in red handlebars.

 

3.From the Align or Space" toolbar, choose "Align Top".

 

The selected objects are lined up along the top edges.

 

4.Increase the height of the objects using the [Shift] + [Down] arrow keys until you can see the bottom part of the letter "g" in "Flight".
5.Click outside the objects to deselect them.

 

On this report, we want dates printed with a full month name, date, and a four-digit year. To do so, we'll add a Display Format to the FlightDate DB Label object.