Report.CharacterCount
Returns the number of characters in the report.
This property is read only.
| Syntax | Parameters | Return/assignment value |
|---|---|---|
| - | - | Integer |
SVB Example
Getting the number of characters in a report:
Option Base 1
Option Explicit
Sub Main
Dim rpt As Report
Set rpt = ActiveReport
If rpt.CharacterCount > 5000 Then
MsgBox "The report has exceeded 5000 characters"
End If
End Sub