点击或拖拽改变大小

CoreDb.RSelect 方法

X#
Return the work area number of a relation.

命名空间:  XSharp
程序集:  XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法
 STATIC METHOD RSelect(
	nPos AS DWORD
) AS DWORD
查看代码

参数

nPos
类型:UInt32
The position of the desired relation in the list of work area relations. The relations are numbered according to the order in which they were defined by relation setting.

返回值

类型:UInt32
TRUE if successful; otherwise, FALSE.
备注
This function is like DBRSelect() but strongly typed. 这个函数,不会调用错误处理程序,因此如果失败,不会产生运行时错误消息或创建错误对象。 因此,检查返回值以确定函数是否成功是很重要的。

LastRddError 属性将包含关于发生的任何错误的必要信息。
提示 提示:
VoDbRSelect() and CoreDb.RSelect() are aliases
参见