LoadMemberListRules

Validates and loads a member lists file from a client computer. A flag determines whether LoadMemberListRules loads after validation or validates without loading.

LoadMemberListRules returns Booleans that indicate whether validation errors, validation warnings, and validation information were included in the log file.

Note:

You must call SetSession before calling LoadMemberListRules. SetSession points to the application for which member lists are being loaded.

Syntax

<HsvRulesLoadACV>.LoadMemberListRules bstrClientFilename, bstrLogFilename, vbScanOnly, pvbErrorsWereFound, pvbWarningsWereFound, pvbInfoWasProvided

Argument

Description

bstrClientFilename

String (ByVal). The name and path of the file containing the member lists to be loaded. The path must be valid for the client computer.

For details on the file’s required 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 load or validate operation.

vbScanOnly

Boolean (ByVal). Determines whether LoadMemberListRules loads after validating. Pass TRUE to load after validation, FALSE to validate without loading.

pvbErrorsWereFound

Boolean. Indicates whether LoadMemberListRules included any validation errors in the log file. Returns TRUE if errors were found, FALSE otherwise.

pvbWarningsWereFound

Boolean. Indicates whether LoadMemberListRules included any validation warnings in the log file. Returns TRUE if warnings were found, FALSE otherwise.

pvbInfoWasProvided

Boolean. Indicates whether LoadMemberListRules included any information not classified as errors or warnings in the log file. Returns TRUE if non-error and non-warning information was included, FALSE otherwise.

Example

The following example loads member lists into an application.

Dim cHsvRulesLoadACV As HsvRulesLoadACV, bErr As Boolean
Dim bSession As Boolean, bWarn As Boolean, bInfo As Boolean
Set cHsvRulesLoadACV = New HsvRulesLoadACV
bSession = cHsvRulesLoadACV.SetSession(m_cHsvSession, _ 
HFM_LANGUAGE_INSTALLED)
If bSession = True Then
  cHsvRulesLoadACV.LoadMemberListRules "c:\Acme\myApp.lst", _ 
  "c:\Acme\myApp.log", False, bErr, bWarn, bInfo
End If