GetNewRow
Returns a blank row for the requested detail code. Suppose the detail code has an auto-sequenced line ID column; then the value of the next row number is assigned to the new row automatically.
Syntax
Public Function GetNewRow(ByVal objSymbol As String, ByVal objKey As String, ByVal
DetailCode As String) As DataRow
Arguments
Argument | Description |
---|---|
objSymbo l
|
The data object type or the current object type if blank. |
objKey
|
The data object key or the current object key if blank. |
DetailCode
|
The system detail code that is used to
return the new row.
Examples:
When the detail code does not exist, an exception is thrown. Some detail codes (such as
|
Return
ADO.Net DataRow
object. See http://msdn.microsoft.com