Venice
Project::SeekByProject
 
Seeks a Project by its project number.
 
VARIANT_BOOL SeekByProject (
    enum eSeekMode eSeekMode,
    LONG lNumber
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pNumberLONG (unsigned)Ascending-
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
lNumber
[in] The number of the project you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateProject
 
Samples
 
C++
 
// Seek the project with number 123
if (pProject->SeekByProject (smEqual, 123))
{
    // Process record data
}

C#
 
// Seek the project with number 123
if (oProject.SeekByProject (eSeekMode.smEqual, 123))
{
    // Process record data
}

VBS
 
' Seek the project with number 123
If oProject.SeekByProject(smEqual, 123) Then
    ' Process record data
End If

VB.NET
 
' Seek the project with number 123
If oProject.SeekByProject(eSeekMode.smEqual, 123) Then
    ' Process record data
End If