Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Blank Line ??
Message
 
À
24/02/2005 00:35:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
00989976
Message ID:
00989994
Vues:
42
>Hello, foxer
>I am new in visual foxpro report designer
>I want to create a invoice by size
>
>Examples
>INVOICE NO. 05040001
>----------------------------------------------------
>NAME QTY PRICE TOTAL
>----------------------------------------------------
>ITEM1 2.00 1,000 2,000.00
>ITEM2 1.00 1,000 1,000.00
>ITEM3 3.00 1,000 3,000.00
>
>
>
>
>
>----------------------------------------------------
> GRAND TOTAL 6,000.00
>
>Because i want to add every invoice with 10 row
>so if item = 3 then empty row is 7 line blank (10-3)
> if item = 8 then empty row is 2 line blank (8-2)
>
>How to make blank line in detail report after item 3 printing
>
>Please help me ??? I need solution ???

Add a variable in report that counts how many Items are printed in Detail Band.
Add a Field BEFORE the GRAND TOTAL line. Mark Stretch with Overflow. In The Expression put:

IIF(VariableThatCoutRowsInDetailBand>9,"",REPLICATE(CHR(13),10-VariableThatCoutRowsInDetailBand))
Open PrintWhen and put VariableThatCoutRowsInDetailBand <10
Mark Remove Line If Blank.

Mark the GRAND TOTAL line as Flow
Mark GRAND TOTAL field as Flow
Mark GRAND TOTAL sum as Flow
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform