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

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API Reference » UltraLite_Table_iface class

 

LookupBackward function

Synopsis
bool UltraLite_Table_iface::LookupBackward(
  ul_column_num ncols
)
Parameters
  • ncols¬†¬† For composite indexes, the number of columns to use in the lookup.

Remarks

Does a lookup based on the current index scanning backward through the table.

To specify the value to search for, set the column value for each column in the index. The cursor is positioned on the last row that matches or is less than the index value. For composite indexes, ncols specifies the number of columns to use in the lookup.

Returns
  • If resulting cursor position is BeforeFirst(), the return value is false.