GetByKey Method (DataEntrySched)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified data entry schedule record from the Data_Entry_Sched table.
Parameters
- keyId
- Required. Holds the primary key or row_id value of a row for which data is being collected.
- keyType
- Required. Holds a number that represents the type of data collection being done.
- category
- Required. Holds the category of the data collection.
- valueName
- Required. Holds the specific data or set of values to be collected within this category.
Return Value
Returns a DataSet that contains the DataRow of the specified data entry schedule in the Data_Entry_Sched table. If no matching record for the specified data entry schedule is found, an empty DataSet is returned.