Page tree
Skip to end of metadata
Go to start of metadata

Description

Calls Analyzer Audit. Performs an analysis and audit on a given database.

Syntax

status = DEANAnalyzeAndAudit( <Design>, <Analysis>, <Title>, <Template>, <AuditIn>, <AuditOut>, <AuditOutTitle>, <AuditClass>, <Filter>, <Flags> )

Parameters

ParameterInput/OutputTypeDescription
DesignInputStringThe path of the database to analyze. Separate server and pathname with !!
AnalysisInputStringThe path of the analysis output database. Separate server and pathname with !!
TitleInputStringThe title to be used if a new analysis database is created.
TemplateInputStringThe path to the template to use if a new analysis database is created. Separate server and pathname with !!. Specify the empty string, "", to use the default template.
AuditInInputStringThe path to the Auditor filter database. Separate server and pathname with !!
AuditOutInputStringThe path to the Auditor output database. Separate server and pathname with !!
AuditOutTitleInputStringThe title to use if the Auditor output database needs to be created.
AuditClassInputStringThe audit filter class to use for the audit.
FilterInputStringA Context Filter string specifying which design elements should be analyzed. Specify the empty string, "", to analyze the full design.
FlagsInputLongThis parameter allows you to control how Analyzer runs. You can pass any of the DBDEAN Flag Constants. You can pass a combination of flags by using a plus sign (+) to combine them.

Return Value

Return ValueTypeDescription
statusIntegerA return value of zero (0) indicates that no error has occurred. If the return value is non-zero, use DEANStringLoadW32 to retrieve the error message associated with the error code.

Example

status = DEANAnalyzeAndAudit(_
	"myserver!!dbtorun.nsf",_ 'database to analyze
	"dbout.nsf",_ 'analysis database for output
	"Analysis of dbtorun",_ 'title for output database
	"",_ 'use default template,
	"deanfltr.nsf",_ 'default filter database
	"dbAuditOut.nsf",_ 'database for audit results
	"Audit of dbtorun",_ 'title for audit results database
	"UI Standards",_ 'filter class
	"-FM",_ 'analyze forms only
	DBDEAN_FLAG_DEFAULT) 'create analysis database if it doesn't exist
  • No labels