Function order_close
This function closes the cursor used to select orders from the database.
Function order_close (orders.4gl):
01 FUNCTION close_order()
02 WHENEVER ERROR CONTINUE
03 CLOSE order_curs
04 WHENEVER ERROR STOP
05 END FUNCTIONNote:
- Line
03closes theorder_curscursor. The statement is surrounded byWHENEVER ERROR, to trap errors if the cursor is not open.