Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to create multi-page report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00581891
Message ID:
01190520
Vues:
24
Terrific articles Cathy,

I read them both and found them to be VERY clear and informative, but I am still a little stuck.

I have a report designed with two detail bands. Each band starts on a new page (2 page duplex report) Each band has an assigned target alias. The cursors are generated in the Dataenvironment BeforeOpenTables event. The code which generates the cursors resides in DataObjects. The code which invokes the data generation looks like the following:
LOCAL lox as cDriver OF Dataclasslib
IF NOT USED('DrivingCursor')
	CLOSE TABLES all
	SET CLASSLIB TO libraries\DataclassLib additive
	lox = CREATEOBJECT('cDriver')
	lox.lautoclosecursors = .f.
	lox.listopenDrivers()
ENDIF
SELECT RECNO() as rec FROM DrivingCursor INTO CURSOR page2cursor
SELECT DrivingCursor
SET RELATION TO RECNO() INTO page2cursor
SELECT DrivingCursor
locate
SET FILTER TO DrivingCursor.ready = .t.
I have detail1 assigned to Drivingcursor and Detail2 assigned to page2Cursor since page2 is only boilerplate and no data elements.

When I preview/Print the rpeort I get butkus! Do I need another driving cursor?

Thanks
Glenn

>>I am now faced with printing a duplex two detail report. I have not yet done any printing with multi details and am unclear how to set this up. How would you proceed with VFP9 and multi page details?
>>
>>Thanks
>>
>>Glenn
>
>Start by reading these two articles. They each have a section on MultiDetail reports.
>
>http://msdn2.microsoft.com/en-us/library/ms965279.aspx
>http://msdn2.microsoft.com/en-us/library/ms965281.aspx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform