Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chaining reports
Message
From
05/07/2005 10:27:37
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italy
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Chaining reports
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01028987
Message ID:
01028987
Views:
54
I’ trying the use of Set ReportBehavior 90
loListener = CREATEOBJECT("ReportListener")
loListener.ListenerType = 1	&&preview
loPreview = null
do (_reportpreview) with loPreview 
loListener.PreviewContainer = m.loPreview

*Then
REPORT FORM “Report1” OBJECT loListener NopageEject 
REPORT FORM “Report2” OBJECT loListener NopageEject NoReset
REPORT FORM “Report3” NoReset preview object loListener
I realized that If ‘Report2’ has a horizontal layout (while ‘Report1’ and ‘Report3’ have Vertical), the layout of ‘Report2’ is produced as Vertical. Reading the help file this seem unavoidable. I’ m asking a confirmation about that.

What is strange is the numbering process of the three reports, since the first 1 gives me:
Page 1 of 1 (I’d expect 1 of 3)
The second: page 2 of 2 (I’d expect 2 of 3)
The Therd: page 3 of 3.

What am I missing?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform