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


FindFirst function

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


Does an exact match lookup based on the current index scanning forward 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 first row that exactly matches the index value. If no row matches the index value, the cursor position is AfterLast() and the function returns false.