Advanced PowerBuilder

HomePrevious Lesson: Creating a Cursor
Next Lesson: Isolation Levels

Executing the Cursor

An OPEN statement actually executes the cursor:
OPEN lProductMasterCursor1 ;
If SQLCA.SQLCODE <> 0 then 
//
End If

Again, we can use SQLCODE to provide error handling.
HomePrevious Lesson: Creating a Cursor
Next Lesson: Isolation Levels