Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group Header - Improper Preview/Printing?
Message
De
29/03/2006 19:41:45
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
29/03/2006 18:37:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01108917
Message ID:
01109034
Vues:
25
Al

I have seen this before and I fixed it by adding .t. in the skip when. Not sure why that makes a difference but it has always helped for me.


>UPDATE: got this working. It seems to be some sort of subtle problem with my reports.
>
>When I'm designing them I've got Page Setup set to show printable area (not whole page), with my default HP5P printer that means 0.25" border on all 4 sides.
>
>When I first put fields in the group header I put Gp1 at the extreme left side of the band:
>- clicked on Field in Report Controls toolbar
>- clicked at the extreme top left corner of the Group Header band
>- filled in the required properties of the field
>
>Maybe if you do that the field Top, Left is actually slightly above and to the left of the Group Header Top, Left ? But that still doesn't explain proper rendering on subsequent pages...
>
>The way I fixed it was:
>- copied 4 fields (as a group) from the Detail band (same sizes, types and formats etc.) to the Group Header
>- moved them (as a group) with the mouse as far left as they would go
>- updated the field expressions
>
>Now everything is working fine. Go figure.
>* End of Update ******************************************
>
>This is a very basic report. The four fields are:
>Expression     Type      Format
>----------------------------------------------------------------
>Gp1            Char      none                     not showing up
>Gp1Cnt         Int       999,999,999 (numeric)    OK
>Gp1Time1       DateTime  none                     not showing up
>Gp1Time2       DateTime  none                     OK
This report:
>
>- runs from a single cursor
>- I've confirmed that the first row has valid, non-blank values
>- there is no index on the cursor, it was sorted by a SQL ORDER BY clause
>- has no DE
>
>Further info:
>- I ran this report from the VFP9 command window, with REPORTBEHAVIOR 80 and still got the exact same problem
>- I rebuilt a new report from scratch, still got the same problem
>
>It's weird that it's only showing up on the first page, and for the topmost data grouping level (if I try a report with more than 1 grouping level). All other group header values are fine on the first page, and all group headers (including the topmost) are fine on all subsequent pages.
>
>This really looks like there's some sort of problem with the report driving cursor but I'm darned if I can see what it might be. I've written it out to a file for debug purposes, it looks A-OK. Very frustrating.
>
>>Give us more information ... what's the expression and formatting for the fields not showing up?
>>
>>
>>
>>>VFP9 SP1, 90 reports:
>>>
>>>I've got a report with a Group Header. There are 4 fields in this band.
>>>
>>>- When I run the report, on the first page Fields 1 and 3 are not shown, but Fields 2 and 4 are.
>>>- All the fields are shown properly on all other pages
>>>- The above happens with both Preview and Print (from the Preview window)
>>>
>>>- The report driving cursor is clean and correct (no blank entries in first row)
>>>- There are no PRINT WHEN, report variables or report group aggregating in this report
>>>
>>>Anyone have any ideas on this?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform