Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: Microsoft Access : Reports
Description: Access Reports

Module: modReports

Managing Microsoft Access reports to design, preview, print, report view, output to PDF, etc.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modReports module
CurrentReportView Procedure Retrieve the current view of the specified report, if it's open
GetActiveReport Procedure Returns the name of the currently active report
IsReportOpen Procedure Determines if a report is open
IsReportOpenInDesignView Procedure Determines if a report is open in design view
IsReportOpenInLayoutView Procedure Determines if a report is in report view mode
IsReportOpenInMode Procedure Determines if a report is open in a particular view
IsReportOpenInPrintPreview Procedure Determines if a report is in print preview mode
IsReportOpenInReportView Procedure Determines if a report is in report view mode
ReportClose Procedure Closes the named report without errors by first checking if the report isn open, and closing it if so. This function is useful when closing a report in code, and that report may not be open.
ReportCloseAll Procedure Closes all open reports that can be closed
ReportControlPropertiesChange Procedure Sets a property to a value on all controls of a report. Opens a Report in design view, sets the specified property to the specified value on all controls, and optionally saves the Report.
ReportControlsToArray Procedure Populates the passed array with control names of a Report. The passed array must be 0-based. The procedure will expand the array as needed, so you do not need to pre-allocate array storage before calling the procedure. If the report specified is not open, the procedure opens it in design view, fills the array and then closes the report. If the report specified is already open, this procedure does not re-open or close the report.
ReportControlsToString Procedure Populates the passed string with control names of a Report. Use the chrDelimit parameter to specify the character or characters to use as the delimiter between control names. The procedure places the resulting string in the strIn parameter.
ReportNamesToArray Procedure Loads an array with the names of all the reports in the current database
ReportNamesToString Procedure Populates a string with the names of all the reports in the current database
ReportOpen Procedure Opens or set focus to the named Report
ReportOpenDesign Procedure Opens a report in design mode. If it's already open, change the current view to design view
ReportOpenDesignAll Procedure Opens all the reports in design view and minimizes them on the workspace. Skips reports that are already open
ReportOpenPreview Procedure Open report in preview mode and maximizes it(useful if user doesn't have tab view)
ReportOpenReportView Procedure Open report in report view mode, maximized (useful if user doesn't have tab view)
ReportOutput Procedure Export a report to a file such as a PDF, XPS, HTML, Snapshot, etc.
ReportOutputPDF Procedure Export a report to a file in PDF format
ReportPrint Procedure Print an entire report
ReportPrintPages Procedure Print a range of pages from a report
ReportPropertyChange Procedure Changes the value of the named property on a Report
ReportsOpen Procedure Determines if any Reports are open
WaitUntilReportClose Procedure Waits for the named report to close as an alternative to opening the report in dialog mode. Uses Sleep command rather than DoEvents which eats up CPU processing resources.

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence