|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Create blank labels on a sheet label reportCrystal Reports can be a useful way to create mailing label reports. We have covered several techniques to make your label reports easier to design. But an interesting question arose at a client site.They had been using Crystal Reports to print onto a sheet of labels. Being a thrifty client, they wanted to use the incomplete sheet the next time they printed their report. Just a simple matter of generating some blank labels at the start of the report, we suggested. The next question was how to do this. Stored procedures and a temporary working table were considered as solutions, but a simple report with a SQL command was the preferred solution. In the screen shot below, we have used a border around the text box to help show the 4 blank labels at the start of the report. |
||||||||||
|
To use this solution you need a Counter table with an integer field that we have called RecID. In that table, have values from 1 to thenumber of labels on your sheet. This table is used to generate the blank labels. |
Click to Enlarge |
||||||||||
|
Use a SQL command as your data source. Start by selecting the name and address fields from your address table. Then do a UNION all with the counter table to add your blank records. A {?Blanks} number parameter can be used to select how many blank records you want at the top of the page. The SQL Command needed for the report now looks like
In the report, set the sort sequence to the SEQ field, and then whatever fields you want to use to control the sequence in which the labels print. This sorts the blank records to the top of the first page. Why labels in Crystal? Now, this brings up another question. Why are you using your business intelligence system to disseminate data? This can create confusion, but we do have a solution. First, understand that Crystal Reports was not developed as a means of presenting data. It was developed as a means of presenting information derived from data. The typical report is, in essence, a data query with nice formatting. This leaves a tremendous amount of value unrealized. If you're the report developer or administrator, putting out these kinds of reports makes you far less valuable to your company than you could be. And during staff cutbacks, that's personally important. Adding irony to the situation, staff cutback decisions are typically made by Excel spreadsheet--which is why those cutbacks often don't make sense. They aren't made based on business intelligence but on rudimentary analysis of partial data. You need to ensure your reports contain business information, not business data. They need to be decision tools, not intermediary data sources. And you need to make sure users understand this. Else, the system will be underutilized and your own position will be of less value. The solution? When using the system to disseminate data:
Remember, the more time people spend massaging data, the less time they spend doing productive work. This time-wasting can really add up across a company and cause the company to lose its competitive edge. |
|||||||||||
| This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects. | |||||||||||