Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - M-Business Anywhere 编程 » UltraLite for M-Business Anywhere API 参考 » ResultSet 类

 

moveRelative 方法

相对于当前行移动一定数量的行。

语法
Boolean moveRelative( Int32 index )
参数

index   要移动的行数。该值可以为正数、负数或零。

返回值

如果成功,则返回 true

如果失败,则返回 false。例如,如果没有行,此方法失败。

注释

相对于游标当前在结果集中的位置,正索引值在结果集中向前移动,负索引值在结果集中向后移动,零不移动游标。