GetByKey Method (StdOperStep)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified standard operation step record from the Std_Oper_Step table.
'Declaration
Public Shared Function GetByKey( _
ByVal operId As String, _
ByVal stepNo As Integer _
) As DataSet
'Usage
Dim operId As String
Dim stepNo As Integer
Dim value As DataSet
value = StdOperStep.GetByKey(operId, stepNo)
Parameters
- operId
- Required. Holds the ID of the operation to which the step belongs.
- stepNo
- Required. Holds the number of the operation step.
Return Value
Returns a DataSet that contains the DataRow of the specified standard operation step in the Std_Oper_Step table. If no matching record for the specified standard operation step is found, an empty DataSet is returned.