VistaDB 5






The script to use in engine for order to evaluate the key to look for in index
Index name to look for key
Try to find first partial matching, when exact matching is absent
Try to position on the first row that follows by non-found key
Find Method (VistaDBDataTable)
Find the key in the current opened database and set found row to the first place in the cache.
Syntax
'Declaration
 
Public Function Find( _
   ByVal keyExpr As System.String, _
   ByVal idxName As System.String, _
   ByVal partMach As System.Boolean, _
   ByVal softPos As System.Boolean _
) As System.Boolean
'Usage
 
Dim instance As VistaDBDataTable
Dim keyExpr As System.String
Dim idxName As System.String
Dim partMach As System.Boolean
Dim softPos As System.Boolean
Dim value As System.Boolean
 
value = instance.Find(keyExpr, idxName, partMach, softPos)
public System.bool Find( 
   System.string keyExpr,
   System.string idxName,
   System.bool partMach,
   System.bool softPos
)
public function Find( 
    keyExpr: System.String;
    idxName: System.String;
    partMach: System.Boolean;
    softPos: System.Boolean
): System.Boolean; 
public function Find( 
   keyExpr : System.String,
   idxName : System.String,
   partMach : System.boolean,
   softPos : System.boolean
) : System.boolean;
public: System.bool Find( 
   System.string* keyExpr,
   System.string* idxName,
   System.bool partMach,
   System.bool softPos
) 
public:
System.bool Find( 
   System.String^ keyExpr,
   System.String^ idxName,
   System.bool partMach,
   System.bool softPos
) 

Parameters

keyExpr
The script to use in engine for order to evaluate the key to look for in index
idxName
Index name to look for key
partMach
Try to find first partial matching, when exact matching is absent
softPos
Try to position on the first row that follows by non-found key
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also