ISProfile.CreateFlowSheetFilter

Description

This function creates the filter for loading flow sheets.

Syntax

object.CreateFlowSheetFilter()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISFlowSheetFilter

Returns the filter for loading flow sheets.

Example

Display the number of the flow sheets loaded on the basis of the selected filter, their names and codes.

Dim aFilter
Dim aFlowSheet
Dim aFlowSheets
Dim aMessage

Set aFilter = Profile.CreateFlowSheetFilter
aFilter.Code = "Height"
set aFlowSheets = Profile.LoadFlowSheets(aFilter)

aMessage = "FlowSheets Count = " & aFlowSheets.Count
for i = 0 to aFlowSheets.Count - 1
  set aFlowSheet = aFlowSheets.Item(i)
  aMessage = aMessage & vbNewLine & "The name of the flow sheet is " &_
  aFlowSheet.Name & " (" & aFlowSheet.Code & ")"
next      

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Flow Sheets can be found in Maintain > Flow Sheets.

Version information

Added in v8.4.32