GetByKey Method (LotAttrDefault)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves a single row from the Lot_Attr_Default table using the specified primary key field.
'Usage
Dim rowId As Integer
Dim value As DataSet
value = LotAttrDefault.GetByKey(rowId)
Parameters
- rowId
- Required. Holds the ID of the row for the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified lot attribute default in the Lot_Attr_Default table. If no matching record for the specified lot attribute default is found, an empty DataSet is returned.