Xbasic

Reporting::ReportDef Class

Description

Class for storing subreport definitions (used to nest reports).

Properties

NameCharacter

Type "C". Name of report

SourceCharacter

Type "C". Source for report data

CalcsCharacter

Type "C". Calculated fields to define for report

ParametersCharacter

Type "C". Parameters to define for report.

CollapsedCharacter

Type "C". Collapsed state

Subreport_TemplateCharacter

Type "C". Sub-report definition

Subreport_Name_PlaceholderCharacter

Type "C". Placeholder name (used to replace subreport content when it is evaliated)

GrandReportGroupDef

Type "ReportGroupDef". Pointer to top level report grouping definition.

Reporting::ReportGroupDef Class
Group

Type "ReportGroupDef". Pointer to groups in report

DetailReportGroupDef

Type "ReportGroupDef". Pointer to detail level of report.

Reporting::ReportGroupDef Class
definitionCharacter

Type "C". Text definiton for report.

ReportObjectResources

Type "ReportObjectResources". List of resources

Methods

AddGroup Method

Add a Group.

AddSubReport Method

Add a new subreport definition.

Create Method

Create Report definition from text.

DeleteGroup Method

Delete a Group.

EnumArguments Method

Return a cr-lf delimited list of arguments passed (from parent contexts) to this report.

EnumGroups Method

Return a cr-lf delimited list of groups.

EnumParameters Method

Return a cr-lf delimited list of parameters defined AND arguments from parent contexts.

EnumSubReport Method

Return a cr-lf delimited list of subreports - if recurseSeparator is provided, returns the hierarchy.

GetGroup Method

Return group from name (includes grand and detail).

GetSubReport Method

Retrieve a subreport definition by name.

GroupNumber Method

Get the index of a Group from the name.

InsertGroup Method

Insert a new Group.

MoveGroup Method

Move a block of Group items.

See Also