Print Preview ActiveX Active Users: 36 / Visits Today: 336
Highest Active Users: 109
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 ArrayReport - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: Authorize - Function Topic Next Topic: ApplyStyle - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/22/2005 :  14:44:44  Show Profile
Method ArrayReport

Action:

This method creates a report from an array of collections.

Syntax:

ArrayReport ( colArr As Collection, [ EtsStep As eAutoStep = prASLine )

Remarks:

This method generates the contents of a report using the data within the array of
collections colArr. Each item in the array is considered a collection of values in a
single row of the report.

Reports in the Introduction for a description of the Reports facility in
Print Preview5 Version

Example:

To create a ArrayReport:

Dim dta(1 To 2) As Collection
dta(1) = MakeList("Day", "Absence")
dta(2) = MakeList("Monday", 23)
Preview.NewReport
Preview.ArrayReport dta

Public Function MakeList (ParamArray s()) As Collection
Dim colV as New Collection
Dim vSS as Variant

For Each vSS in s
    colV.Add vSS
Next 

Set Makelist = colV
End Function
See also:

ReportHeaders
ModifyReport -------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=396
RecordsetReport

Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

Edited by - emiel on 07/27/2005 13:09:29
Go to Bottom of Page
  Previous Topic: Authorize - Function Topic Next Topic: ApplyStyle - Method  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02