CoreDb.Trans Method | |
Copy one or more rows from one work area to another.
Namespace:
XSharp
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax STATIC METHOD Trans(
nDest AS DWORD,
fldNames AS _FieldNames,
uCobFor AS ICodeblock,
uCobWhile AS ICodeblock,
nNext AS Object,
nRecno AS Object,
lRest AS LOGIC
) AS LOGIC
public static bool Trans(
uint nDest,
_FieldNames fldNames,
ICodeblock uCobFor,
ICodeblock uCobWhile,
Object nNext,
Object nRecno,
bool lRest
)
Request Example
View SourceParameters
- nDest
- Type: DWord
The work area number for the target Workarea. - fldNames
- Type: _FieldNames
The field names to write specified as an _FieldNames object. - uCobFor
- Type: ICodeblock
A code block that defines a condition that each record within the scope must meet in order to be processed.
- uCobWhile
- Type: ICodeblock
A code block that defines another condition that each record must meet in order
to be processed.
As soon as a record is encountered that causes the condition to fail, the operation
terminates.
If no scope is specified, cbWhileCondition changes the default scope to lRest.
You define the scope using one of these three, mutually exclusive arguments.
The default is all records.
- nNext
- Type: Object
- nRecno
- Type: Object
- lRest
- Type: Logic
Return Value
Type:
LogicTRUE if successful; otherwise, FALSE.
See Also