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 参考 » ULTable 类

 

lookupForward 方法

在表中从开头往前移动,查找匹配或大于当前索引中某个值或整个值集的行。

语法
Boolean lookupForward( )
            
返回值

如果成功,则返回 true;否则,返回 false

注释

若要指定要搜索的值,请为索引中的每一列设置列值。游标停留在第一个与索引值匹配或大于索引值的行上。失败时(即没有任何行大于要查找的值),游标位置在最后一行之后 (isEOF)。

每次搜索之前必须首先调用 lookupBegin 方法。