¡¡

Ä«Å×°í¸®    º¸°í¼­ Á¶È¸:2827
 Á¦¸ñ    Properties and Methods of Report object

******************************************************************************************************

  Properties and Methods of Report object

******************************************************************************************************

  Some additional properties of the Report object are:

  DefaultControl (Read-only; control)           ' Sets the default properties for a particular type of control on a report.

  Me              (Read-only; report object)         ' Refers to the report itself in a VBA procedure stored in the report's module.

  Module      (Read-only; object)                     ' Refers to a report's module.  If you refer to the Module property of a report with the HasModule property set to False, an error occurs ? check it first.

  PrintCount       (Read/write; integer)           ' Returns or sets the number of times the OnPrint property has been evaluated for the current section of a report.

  Methods of the Report object are:

  Circle                  ' Draws a circle, an ellipse, or an arc on a report when the Print event occurs.

  Line                    ' Draws lines and rectangles on a report when the Print event occurs.

  Move                 ' Relocates a report to the location you specify, in twips from the upper and left edges of the program space.

  Print                    ' Prints the text on a report.

  PSet                    ' Sets a point on a report to a specified color when the Print event occurs.

  Scale                  ' Defines the coordinate system for a Report object.

  TextHeight                ' Returns the height of a text string as it would be printed in the current font.

  TextWidth         ' Returns the width of a text string as it would be printed in the current font.

******************************************************************************************************