Overview
Unlike foreign countries, domestic reports are mostly based, so the form of crystal report is not convenient, but must face! The frame of the form is divided into the upper frame, the lower frame, the left frame, the right frame, the internal horizontal frame, the internal vertical frame, and the upper frame, the lower frame, the internal horizontal frame is also Horizontal frame, left frame, right frame, internal vertical frame and belong to the vertical frame. In the crystal report, you can use the line, box, and object border, and listen to me slowly ...
table of Contents
First, the quasi-line help 1. The object is not moved, the quasi-line first. 2. Use the frame line of the quasi-line alignment form. 3. Use the quasi-line alignment, column. 4. Use the quasi-line positioning line, column. 5. Use the quasi-line adjustment column width and high.
Second, multiple boxes 1. Draw the external frame of the table. 2. Draw the internal horizontal frame of the table. 3. Draw the internal vertical frame of the table.
Third, the internal line 1. Separate the title line and data line of the table, draw the form frame. 2. Draw the table frame of the header section. 3. Draw the table frame of the data line section.
Fourth, multi-selection 1. Prevent variable lengths from coverage each other. 2. Prevent database fields and lower frames from being covered with each other.
V. Object Border 1. Use the frame line of the object border to simulate the table. 2. Separate the title line and data line of the table and simulate the table frame with the object border. 3. Simulate the table frame of the header portion of the header of the text object. 4. Simulate the table frame of the data line portion with the border of the database field.
First, quasi-line assistance
1. The object is not moved, and the quasi-line is in advance.
Quasi-line is some non-print lines that can be placed in any location on the Design tab and the Preview tab to help align. They have alignment properties that automatically align them. Alignment functions not only allow you to easily properly align objects, but also you can reposition multiple objects simultaneously and resize.
(1) Display, insert, move, and delete quasi-line 1 Display Quasi-Line Select the "Quasi line" command on the View menu. Use the Design command to display or hide the quasi-line in the Design tab. Use the Preview command to display or hide the quasi-line in the Preview tab. Note: On the Preview tab, you must select an object to see the quasi-line. 2 Inserting the Quasi Wire In the Design or Preview tab, click the tip of the top to insert the vertical line; click the ruler on the left to insert the horizontal line. Note: Each quasi-line is connected to an arrow on its start calibration position. 3 Mobile quasi-line To place the quasi-line to the target position, drag the arrow along the ruler to the appropriate location. 4 Delete the quasi-line to delete the quasi-line and drag the arrow out of the ruler.
Note: If you select the Grid Line Align option, you can only increment in insert or move the quasi-line in the grid. To remove this limit, right-click on the blank of the report, and cancel the "Alignment" command in the shortcut menu.
(2) Align objects and quasi-line alignment to align objects to quasi-line, drag the report object to the quasi-line until the edge of the object falls above the quasi-line. 2 You can align multiple objects with the same quarter line to reposition multiple objects and adjust the size. 3 The top or bottom of the object can be aligned with the horizontal line, or the left side, right or middle vertical line of the object can be aligned with the vertical line. 4 If it is aligned with multiple objects, you must use the same side of the object.
(3) After using a quasi-line positioning object to align one or more objects with a quasi-line, all objects can be moved simultaneously by moving the departure. To move the quasi-line, drag your arrow along the ruler. Note: When moving the quasi-line, all objects that are aligned are moved together. But if mobile is an object aligned with the quasi-line, the quasi is not moved.
(4) Using the quasi-line adjustment object size Using two quasi-lines can be adjusted to two or more sizes (heights or widths) or different objects. The process of using two quasi-line adjustments in both cases is the same. 1 Create a quasi-line. 2 Align the side of the object with the quasi-line. 3 Create a second quasi line on the other side of the object. Note: This allowable line should not be contacted. 4 Click the object to activate the size adjustment handle. 5 Drag the adjustment size handle to the second quasi-line to align the object with the departure. 6 Repeat steps 2 to 5 for each other objects to be aligned with these two quasi-lines. 7 If the object is not the size required, one or all of the quasi-line or all quasi-line until the object size is correct. 2. Use the frame line of the quasi-line alignment form.
Note: If you select the Grid Line Align option, you can only increment in insert or move the quasi-line in the grid. To remove this limit, right-click on the blank of the report, and cancel the "Alignment" command in the shortcut menu.
(1) Insert box 1 In the Design tab, insert two horizontal quasi-lines by clicking the ruler on the left. One, the upper frame and lower frame of the table are respectively corresponding. 2 Insert two vertical quasi-lines by clicking the ruler of the top. One left and right, respectively correspond to the left frame and right frame of the table. 3 Insert the box and adjust the size, and align the four quasi lines in the four sides of the box.
(2) Insert vertical line 1 In the Design tab, insert two horizontal quasi-lines by clicking the ruler on the left. One, respectively correspond to the upper and lower vertices of the vertical frame. 2 Click the ruler of the top to insert a vertical line to assist the positioning vertical frame in the horizontal direction. 3 insert the vertical line and align the vertical line. 4 Adjust the size of the vertical line, so that the upper side of the upper side is aligned with the lower two levels.
(3) Insert the horizontal line 1 In the "Design" tab, insert two vertical quasi-lines by clicking the ruler at the top. One left and right, respectively correspond to the left and right vertices of the horizontal frame. 2 Click the ruler on the left to insert a horizontal quasi-line, used to assist the positioning horns in the vertical direction. 3 insert the horizontal line and align the horizontal line. 4 Adjust the size of the horizontal line, so that the left and right sides are aligned with two vertical lines.
3. Use the quasi-line alignment, column. (1) Alignment 1 In the Design tab, click the ruler in the left to insert the horizon. 2 Align the bottom of the data field or the table title on the same line to the horizon.
(2) Alignment 1 In the Design tab, click the ruler at the top to insert the vertical line. 2 Align the data fields on the same column and the top left of the table title to the vertical line.
4. Use the quasi-line positioning line, column. Each quasi-line is connected to an arrow on its starting scale. Align the line with the horizontal line or align the column to the vertical line, drag your arrow along the ruler, you can move the rows and columns.
5. Use the quasi-line adjustment column width and high. (1) Adjustment Column Width 1 In the Design tab, click the ruler at the top to insert the vertical line 1, and align the data field on the same column and the top left of the table title to the vertical line 1. 2 On the right side of the column, click the ruler of the top to insert the vertical line 2. Note: This quasi-line should not be exposed to data fields and table titles. 4 Press and hold CTRL to continuously click to select the data fields and table headings on the same column, and the size adjustment control should appear on the last selected object. 5 Drag the adjustment size handle to the vertical line 2, let the column are aligned with the quasi-line. 6 If the column is not the required size, one or all of the quasi-line is dragged until the column size is correct.
(2) Adjusting line high 1 In the Design tab, click the ruler of the left to insert the horizontal quasi-line 1, and align the top of the data field on the same line or the top of the table title. 2 At the bottom of the row, click the ruler of the left to insert the horizontal line 2. Note: This quasi-line should not be exposed to data fields or table titles. 4 Press and hold the CTRL to continuously click to select all the data fields on the same row, and the size adjustment check control will appear on the last selected object. 5 Drag the adjustment size control to the horizontal quasi-line 2 to allow the line to align the line. 6 If the line is not the required size, one or all of the lines of the quasi-line or all the line is correct. Second, multiple boxes
1. Draw the external frame of the table. (1) Insert box, cross "Header" and "Details". (2) Adjust the size of the "Details" to align it at the bottom of the table.
2. Draw the internal horizontal frame of the table. (1) Insert the horizontal line in "Details". (2) Move the horizontal line in the vertical direction to align with the top of "Details". (3) Adjust the size of the horizontal line to align the left and right ends.
3. Draw the internal vertical frame of the table. (1) Insert the corresponding number of vertical lines in the report according to the sum of the columns. (2) Move vertical line in the horizontal direction, which is exactly between two columns. (3) Adjust the size of the vertical line to align the upper and lower ends.
Question: If you insert the subformation in the Report Footer, the vertical frame and lower frame of the table will appear on the sub-report, the display effect is not chaos! So there is below ...
Third, the internal line
1. Separate the title line and data line of the table, draw the table frame. (1) Put the title of the table in "Header", and the framework is not exceeded "Header". (2) Place the data of the table in "Details", and the framework is not exceeded "Details".
2. Draw the table frame of the header section. (1) In "Header", draw the upper frame of the table with the line, the internal horizontal frame of the table, the top left frame, right frame, and the internal vertical frame of the upper frame. Draw horizontal frame and vertical frame, please refer to this article: Second, multiple boxes 2. Draw the internal horizontal frame of the table. 3. Draw the internal vertical frame of the table. (4) Adjust the size of the "Header" to align it at the bottom and the internal horizontal frame of the table.
3. Draw the table frame of the data line section. (1) In "Details", use the line to draw the lower frame, the table left frame, right frame, and the title bar of the inner vertical frame. Draw horizontal frame and vertical frame, please refer to this article: Second, multiple boxes 2. Draw the internal horizontal frame of the table. 3. Draw the internal vertical frame of the table. (2) Adjust the size of the "Details" to align it at the bottom of the table.
Problem: If the row of data rows is not fixed, that is, the database field is set to "can expand" to automatically expand according to the data size. Then the data will exceed the lower frame of the table, and the vertical line cannot be expanded automatically, and the display is very difficult! So there is below ...
Four, multi-selection
1. Prevent variable lengths from being covered with each other. Create multiple sections and place the object below the section below the variable length object to eliminate this printer.
2. Prevent database fields and lower frames from being covered with each other. (1) Create two sections in "Details": "Details A", "Details B". (2) Place the database field in Details A ". (3) In "Details B", use the line to draw the lower frame of the table and adjust the size of "Details B" to align the bottom and lower frame. (4) Draw the vertical frame line in "Details" and cross the "Details A" and "Detail B". V. Object border
1. Use the object border to simulate the frame line of the table. (1) Select the report object and select the format command from the Format menu or right click on the menu to enter the Format Setup Editor dialog. (2) Select the Border tab. (3) Set the "line style" of the left, right, top, bottom frame line to "single line".
2. Separate the title line and data line of the table and simulate the table frame with the object border. (1) Place the title of the table in "Header", simulate the frame line of the header line with the border of the text object. (2) Place the data of the table in Details, simulate the frame line of the data line with the border of the database field.
3. Simulate the table frame of the header portion of the header of the text object. (1) The "line style" of the left, right, top, bottom frame line of the leftmost text object border is set to "single line". (2) The "wire type" of the side of the other text objects is set to "single line". (3) Close each text object from left to right, then the top frame line constitutes the upper frame of the table, the bottom frame is formed into the internal horizontal frame of the table, left, right frame, is the left frame Line, right frame, the title bar section of the inner vertical frame. (4) Adjust the size of the "Header" to align it at the bottom and the internal horizontal frame of the table.
4. Simulate the table frame of the data line portion with the border of the database field. (1) The "line style" of the left, right and bottom frame of the leftmost object border is set to "single line". (2) The right of other text objects, the "line type" of the bottom frame line is set to "single line". (3) Close each text object from left to right, the bottom frame is combined into the lower frame of the table, left, right frame, the right frame, right frame, internal vertical frame section. (4) Adjust the size of "Details" to align it at the bottom of the table.