Print Preview ActiveX Active Users: 91 / Visits Today: 100
Highest Active Users: 91
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
 ModifyReport - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ReportHeaders - Method Topic Next Topic: RecordSetReport - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/18/2005 :  16:44:46  Show Profile
Method ModifyReport

Action:

This method modifies and existing column definition in a report.

Syntax:
ModifyReport (vGroupCol As Variant, vLineAroundReport As Variant, vLineBeforeCalc As Variant, vLineAfterCalc As Variant, vShowVerticalLines As Variant)

Parameter             opt/req   Description                                         
  • vGroupCol Optional. Identifier for column used to group rows
  • vLineAroundReport Optional. Indicates whether to draw a line around report
  • vLineBeforeCalc Optional. Indicates whether to draw a line before calculations
  • vLineAfterCalc Optional. Indicates whether to draw a line after calculations
  • vShowVerticalLines Optional. Indicates whether to draw a line between columns
    Remarks:

    This method modifies an existing report definition. Only those parameters specified are changed. It is often convenient to use named parameters in calling this method, like :

    preview.report GroupCol:="Type",LineBeforeCalc:=True

    The vGroupCol parameter indicates the (field)name of a column used to define subtotals. Whenever the value in this column changes from row to row, a sub calculation line is inserted, optionally with a line before or after. The values printed on this row depend on the calculation specified for each column.

    See Reports in the Introduction for a description of the Reports facility in Print Preview5 version.

    Example:

    To modify a report:

    Preview.ModifyReport GroupCol:="Type", ShowVerticalLines:=True

    is equal to :

    Preview.ModifyReport "Type", , , ,True

    See also:

    ModifyColumn ----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=395
    RecordsetReport ->http://www.ppreview.net/forum/topic.asp?TOPIC_ID=598
    ReportHeaders ---> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=597
    NewReport ---------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=401

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

    Edited by - emiel on 06/15/2006 15:43:42
    Go to Bottom of Page
      Previous Topic: ReportHeaders - Method Topic Next Topic: RecordSetReport - Method  
     New Topic  Topic Locked
     Printer Friendly
    Jump To:
    Print Preview ActiveX © Mandix Go To Top Of Page
    This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02