Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Groups on Reports with Print Order do not function corre
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00396119
Message ID:
00396439
Vues:
9
I'm not sure if this is considered a "feature" or a bug. I've actually used this behavior to my advantage in the past. If you don't want it to behave this way, you can use this workaround that I got from Brad Schulz.

First, you must repeat whatever you want in the detail for the first row and column in the group header. Then, in the "On exit" function of the group header, put a function call (I call mine SkipIt). The ony thing this function needs to do is SKIP so that what prints in the first row and column isn't repeated in the second column.

>I am reposting this question. I guess it got overlooked.
>
>Whenever you group a report and set print order in the page setup to horizontal (group continues on next row).
>You will get an empty space at the start of each group.
>
>I found that setting Print Order Left to right / horizontal (group continues on next row) will ALWAYS leave an extra space at the start of each group.
>Only if you set print order and records wrap from left to right (horizontal) in the print setup. If you print vertically (group continues on same column) it works fine.
>
>
>I wonder if anyone else has noticed this. If so did you solve it somehow (by hacking the FRX??) or if it is a known bug...
>
>This can be duplicated by creating a table
>1) create table mytable (col1 c(20))
>
>2) Insert records as follows:
>append blank
>replace col1 with "A"
>append blank
>replace col1 with "A"
>append blank
>replace col1 with "B"
>append blank
>replace col1 with "B"
>
>2) Then create a report...
>CREATE REPORT
>
>-add data grouping: set to column mytable.col1
>-place 1 field in the detail band with expression=mytable.col1
>-Shrink all of the "bands" down to the correct size...so you can see the space is not created by the bands.
>-File-Page Setup: 2 Columns,Print Order Left to rigth ....(group continues on next row)
>
>
>
>Anyone else see what I mean???
>
>If you do print order and records wrap from left to right (horizontal)
>you will get an empty space at the start of each group.
>
>If you do it from column to column (vertical) it works fine no space...
>
>
>I think it's a bug!?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform