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

SAP Sybase SQL Anywhere 16.0 » UltraLite - C and C++ Programming » Application development » UltraLite C++ application development » Data creation and modification using the ULTable class

 

UltraLite modes

The UltraLite mode determines how values in the buffer are used. You can set the UltraLite mode to one of the following:

  • Insert mode   Data in the buffer is added to the table as a new row when the insert method is called.

  • Update mode   Data in the buffer replaces the current row when the update method is called.

  • Find mode   Locates a row whose value exactly matches the data in the buffer when one of the find methods is called.

  • Lookup mode   Locates a row whose value matches or is greater than the data in the buffer when one of the lookup methods is called.

The mode is set by calling the corresponding method to set the mode. For example, InsertBegin, UpdateBegin, FindBegin, and so on.