wp83ec5f64.png
wpcff022fe.png
wpe05f0f24.png
wp7bd4f988.png
wp3a644f2b.png
wp794b7de1.png
wp6b867d8f.png
wpbe4b707d.png

 

Columnar Reporting
by Ken Knight
wp49f28798.png

To start let’s give a brief overview of how this is accomplished.  Then we’ll get into the details and provide code samples on each section.

 

By default WinDev only provides the ability to automatically create repeating reports that are based on tables or labels.  This means your content has the option of going straight down OR left to right.  So how do we make our content flow straight down AND left to right.  The answer is memory Arrays!

 

wp4563ba2f.png

 

What we’re going to do is create a report based on “programming”.  In this report we’ll create an array, load the data into the array and then during the “pre-print” event of the body we’ll calculate which element of the array to grab and which column to put it in.  Yes this will requiring programming. . . And yes I know, WinDev spoils us on this fact, but after all, we are programmers (or at least play one on TV).

 

Ok, now that we’ve provided a foundation of the “why” and “how”, lets get down to business and start developing a report that performs exactly what we need.

 

Next Page