PB à toute heure et à tout moment. (à parcourir avec modération)

Le forum (ô combien francophone) des utilisateurs de Powerbuilder.

Recherche rapide

Annonce

Certaines rubriques, dont des cours, sont uniquement visibles par les membres du forum ^^.
Dans la rubrique Liens & Références, vous avez accès à un sommaire de téléchargement, profitez-en !
Il existe maintenant un nouveau TOPIC "Votre CV en Ligne" accessible uniquement par demande.

#1 17-03-2008 12:02:49

Federico  
Membre
Date d'inscription: 17-03-2008
Messages: 3
Pépites: 16
Banque: 0

[SOLVED] Print two times a datawindow on A4 sheet

Hi to all,

please i ask you to give me some help for code this: i need to print a datawindow (with nested report) two times in A4 sheet for each page.
If the number of rows in the nested report is bigger than 5 i need to cointinue the print in the next page without the header (always printing two time for sheet: first half of page the datawindow, second half of page the same datawindow).
I try using A5 landscape (it's about half of a A4 portrait), but when i print the printer recognize the different paper format and don't work.

Thanks in advance,
Federico.

Hors ligne

 

#2 17-03-2008 12:12:16

Chrnico  
N2I Power
Award: bf
Lieu: Vanves
Date d'inscription: 05-06-2007
Messages: 1206
Pépites: 12,884,901,943
Banque: 9,223,372,036,854,776,000
Site web

Re: [SOLVED] Print two times a datawindow on A4 sheet

If you need to print the same DW on left and right of your A4 page, why do you not use a composite DW within your two same DW in the detail ?

P.S. : you're on a French forum. So, questions and answers must be in french


Tu dois donc tu peux (Kant)

Tu peux donc tu dois (N2i)
www.n2i.fr

Hors ligne

 

#3 20-03-2008 07:54:24

Chrnico  
N2I Power
Award: bf
Lieu: Vanves
Date d'inscription: 05-06-2007
Messages: 1206
Pépites: 12,884,901,943
Banque: 9,223,372,036,854,776,000
Site web

Re: [SOLVED] Print two times a datawindow on A4 sheet

Hi,

May I flag this topic [SOLVED] or not ?


Tu dois donc tu peux (Kant)

Tu peux donc tu dois (N2i)
www.n2i.fr

Hors ligne

 

#4 28-03-2008 09:48:30

Federico  
Membre
Date d'inscription: 17-03-2008
Messages: 3
Pépites: 16
Banque: 0

Re: [SOLVED] Print two times a datawindow on A4 sheet

Hi Chrnico,
, yes you can flag with "Solved".

Bye Bye

Hors ligne

 

#5 28-03-2008 14:19:32

Chrnico  
N2I Power
Award: bf
Lieu: Vanves
Date d'inscription: 05-06-2007
Messages: 1206
Pépites: 12,884,901,943
Banque: 9,223,372,036,854,776,000
Site web

Re: [SOLVED] Print two times a datawindow on A4 sheet

Hi,

What are  you doing to solve your problem ?
Perhaps, it will be interesting for other PBaDonfers

Bye


Tu dois donc tu peux (Kant)

Tu peux donc tu dois (N2i)
www.n2i.fr

Hors ligne

 

#6 01-04-2008 09:52:26

Federico  
Membre
Date d'inscription: 17-03-2008
Messages: 3
Pépites: 16
Banque: 0

Re: [SOLVED] Print two times a datawindow on A4 sheet

I USED A COMPOSITE DW WITH two NESTED report in the first i get the top 5 rows by sql statement, and in the second the rest of rows using fitlers criteria to not see the top 5.

ps: do you know if is possible to read a text file into a temp table of database in a single statement?

Hors ligne

 

Pied de page des forums

Propulsé par FluxBB 1.2.22