Venice
EdoWork::SeekByPath
 
Seeks an electronic document in the work file by its path.
 
VARIANT_BOOL SeekByPath (
    enum eSeekMode eSeekMode,
    BSTR bsPath
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pPathBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsPath
[in] The account number of the Entry record you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateEdoWork
GetDBStatus
GetNext
 
Samples
 
C++
 
// Seek the electronic document in the work file with path 'C:\Data\Dossier\ElecDoc\INV_00125.pdf'
if (pEdoWork->SeekByPath (smEqual, "C:\\Data\\Dossier\\ElecDoc\\INV_00125.pdf"))
{
    // Process record data
}

C#
 
// Seek the electronic document in the work file with path 'C:\Data\Dossier\ElecDoc\INV_00125.pdf'
if (oEdoWork.SeekByPath (eSeekMode.smEqual, @"C:\Data\Dossier\ElecDoc\INV_00125.pdf"))
{
    // Process record data
}

VBS
 
' Seek the electronic document in the work file with path 'C:\Data\Dossier\ElecDoc\INV_00125.pdf'
If oEdoWork.SeekByPath(smEqual, "C:\Data\Dossier\ElecDoc\INV_00125.pdf") Then
    ' Process record data
End If

VB.NET
 
' Seek the electronic document in the work file with path 'C:\Data\Dossier\ElecDoc\INV_00125.pdf'
If oEdoWork.SeekByPath(eSeekMode.smEqual, "C:\Data\Dossier\ElecDoc\INV_00125.pdf") Then
    ' Process record data
End If