![]() ![]() |
|
|
|
A Sharp Report, Part 2: Sections November 2003 |
|
Continued... Section Options At the bottom of the Add Section dialog box, you’ll find options that can be applied to any section in the report (well, almost any section).
Figure 9. Collapse black lines. To change the attributes for an existing section, follow these steps:
Sections add a lot of flexibility to your reports. While they can be difficult to understand initially, the end result is worth the potential headaches of mastering them. Field Properties There are some special properties of the report fields themselves that you’ll find very useful when you need them. Close up blank space When you place one field next to another in a report, the data in each field will print as if it were in its own separate column. This works fine for a simple columnar list, but sometimes you want the data to be closer together — for example, if you wish to combine City, State, and Zip Code so it all fits in a single column. Since city names have many different lengths, you can’t just adjust the field width and proximity; shorter names will still be too far away from the state, and longer city names will be truncated. When you change the property of a field to Close up blank space, the field immediately to its right will be “pulled” toward the first field based on the amount of space between the end of the text in the first field and the start of the field to the right. This affects only one field at a time, so you can terminate the effect when you wish (see Figure 10).
Figure 10. Close up blank space. Wrap text When the content of a field is longer than the width of its text box, ACT! will truncate the data. You could make the box larger and taller, but if you do, it’s your best guess as to how much space is needed for the longest entry. If that’s the way you want to go... well, good luck with that. The rest of us will use the Wrap text property. When you turn Wrap text on, the field can grow vertically as necessary to accommodate the text in the field (see Figure 11).
Figure 11. Wrap text. Don’t print if duplicated On some report layouts, you may want a nice, neat, columnar layout. When one of your columns contains data by which the report is sorted, you get an entire column of the same thing. Turning on the Don’t print if duplicated property for this field will cause a field to print only once and then skip rows until its content changes (see Figure 12).
Figure 12. Don't print if duplicated. Arrangement Tools It’s easy to add controls to your report; it’s less easy to make them look good. Arranging fields so they’re aligned with each other can be a challenge, and making fields the same size as others can be even more challenging. Fortunately, the ACT! report designer provides tools to make this task easier. To align controls with each other, follow these steps:
Figure 13. The Align dialog box. You might notice that the “top to bottom” options aren’t available to you when editing reports. The horizontal (top to bottom) alignment is pretty much controlled by the horizontal grid on the design screen. To make controls the same size, do the following:
<<<Previous Page | Next Page >>>
|
||||||||||||
|
| |||||||||||||||||