OpenFormulaItem Method
Description
Opens an Item within a dataset which matches an expression, making it the current open Item.
Syntax
Visual Basic |
---|
Public Function OpenFormulaItem( _ ByVal nDataset As Long, _ ByVal formula As String _ ) As Integer |
Parameters
- nDataset
-
The serial number of the dataset whose Item is to be opened. The number can be obtained from the Dataset property of an overlay, or from the GetDataset, GetDatasetContainer or FindExternalDataset methods.
- formula
-
The formula to check dataset Items against. See Property Expression Syntax for details.
Remarks
The first Item which matches the formula will be opened, so this method is best suited to finding an Item using a unique value.
Available: GEO D OD OM OV SISpy
Group:
Example
sis.OpenFormulaItem (1, "URN$ = " & Chr(34) & "1998/190" & Chr(34))