CoreDb.Trans 方法 | |
Copy one or more rows from one work area to another.
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 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
)
查看代码参数
- nDest
- 类型:UInt32
The work area number for the target Workarea. - fldNames
- 类型:_FieldNames
The field names to write specified as an _FieldNames object. - uCobFor
- 类型:ICodeblock
定义范围内每条记录必须满足的条件的代码块。
- uCobWhile
- 类型:ICodeblock
定义每条记录必须满足的另一个条件的代码块。
一旦遇到导致条件失败的记录,操作就会终止。
如果未指定范围,cbWhileCondition 将默认范围更改为 lRest。
您可以使用这三个互斥参数之一来定义范围。
默认为所有记录。
- nNext
- 类型:Object
- nRecno
- 类型:Object
- lRest
- 类型:Boolean
返回值
类型:
BooleanTRUE if successful; otherwise, FALSE.
参见