Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to force report to move to next column?
Message
De
16/07/2013 08:28:36
 
 
À
16/07/2013 06:42:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01578442
Message ID:
01578500
Vues:
67
>What do you mean by 2 columns ? Is it just two columns of data that you are showing in a solid (single column) page or it is actual two column page layout
>(physical page space is divided in two columns) ?

>
>I mean an actual 2 column layout.
>
>If later then things are more complicated. Conventional trickery could involve perhaps inserting number of dummy records inside report cursor to force report to advance to next column (while keeping track of how many rows are printed and how many are remaining before jumping to the next column or page). Maybe doable but minefield. With 3 levels of grouping (headers/footers ?) God help you.
>
>I thought about the dummy record thing, but I think that the only way that could work would be if nothing on the report can stretch with overflow. Unfortunately, on this report, that is not the case.

Huh... I have done few of these gizmos with RS but it is quiet tricky. You need Gdi+ to measure actual vertical size of the text in a given width, PRIOR exposing it on report page. I got such function should you need it. It is not walk in the park exactly, but it is by all means doable with RS/Gdi+.
Update: If only requirement is to just start group on new column/page based on data condition then no need for measuring of text.



Or plan B (if applicable) - Smart diplomacy to talk client into accepting similar but somewhat easier to make report layout! ;-)
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform