ExtractCalcRules

Extracts rules from an application into a text file on the client computer.

Note:

You must call SetSession before calling ExtractCalcRules. SetSession points to the application from which rules are being extracted.

Syntax

<HsvRulesLoadACV>.ExtractCalcRules bstrClientFilename, bstrLogFilename

Argument

Description

bstrClientFilename

String (ByVal). The name and path of the file into which the rules will be extracted. The path must exist on the client computer.

For details on the extracted file’s format, see the Oracle Hyperion Financial Management, Fusion Edition Administrator's Guide.

bstrLogFilename

String (ByVal). The name and path of the log file for the extraction operation.

Example

The following example extracts rules from an application.

Dim cHsvRulesLoadACV As HsvRulesLoadACV, bSession As Boolean
Set cHsvRulesLoadACV = New HsvRulesLoadACV
bSession = cHsvRulesLoadACV.SetSession(m_cHsvSession, _ 
HFM_LANGUAGE_INSTALLED)
If bSession = True Then
  cHsvRulesLoadACV.ExtractCalcRules "c:\Acme\myApp.rle", _ 
  "c:\Acme\myApp.log"
End If