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 downORleft to right. So how do we make our content flow straight downANDleft to right. The answer is memory Arrays!
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.