Thursday, October 11, 2012

NextReports: Business Cards

NextReports is a very flexible tool to generate any kind or reports / documents. Because it offers possibility to select column sizes, you can practically generate anything from business cards, envelopes, invoices. To illustrate this we can show a simple report to generate business cards for your employees. This can be arranged as you like and printed on an A4.

Layout can be for example as:


Any dynamic fields can be expressed through database columns or expressions, image can be inserted wherever you like, you can adjust your horizontal size by setting columns dimensions, you can adjust your vertical size by setting properties like font size and padding for any cell.

Generated report looks like:

Do you want to generate to a business card A4 template which has two columns? Just use this report as a sub report with a parameter "Employee" which you will use in your query:


Your master report will have a simple  query where you will select the employe column with the alias "Employee", identical with sub report parameter name:



 and in your layout you will add two sub reports:


So your generated report will be :


No comments: