WinVask -  Faktura

Basics: Step 14 (Records Printed Counter)

Basics: Step 14 (Records Printed Counter)

Previous topic Next topic  

Basics: Step 14 (Records Printed Counter)

Previous topic Next topic  

 

Knowing how many database records have been selected for printing can be a useful addition to many reports. The Report Builder makes it very easy to print this information:

 

ð        Create a Report Footer band (from the main menu select BAND, then NEW, then REPORT FOOTER). An empty Report Footer band is made available inside the Report Formatter screen.
ð        Create an empty frame in the new Report Footer band in the desired location; with the new frame selected click the Dictionary button on the Frame Properties box..
ð        From the Dictionary popup tree menu select the entry for OTHERS; under this entry open up "Built In Variables", and then select "Record Counter". This will insert this information into the Frame Contents: =Record_Counter
ð        That's it! You can also manually type in the (=Record_Counter) information without having to go through the Dictionary.

 

You may choose to make this information print a little fancier by adding a frame to the left of where the record counter is printed:

 

frb_bm103

 

As shown above two frames have been created; the first has the text string "Records Selected" inserted. The second frame contains the built in variable for the Record Counter. To recap, on this page you learned:

 

ð        How to print a counter of matching database record(s) for a group of related information
ð        How to create a box effect by resizing frame borders

 

Next Tutorial Page