Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>orderlistadd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 orderListAdd()
 Opens an Order Bag in the indicated workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE orderListAdd(
                           WORKAREAP wa,
                           DBORDERINFOP dbOrderInfo
                         )

 Arguments

     wa is a pointer to self.

     dbOrderInfo is a pointer to a structure containing information about
     the Order Bag to be opened.

 Description

     Opens an Order Bag with all its associated Orders in the workarea.  This
     functionality is analogous to the CA-Clipper SET INDEX TO...ADDITIVE
     command.

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  Before an Order can be attached to the workarea, the
        workarea's buffer should be written to disk in a SELFGOCOLD() call.

     .  It is recommended that you place a limit on the number of open
        Orders per workarea since memory is a finite resource, even if you
        tap the power of the Virtual Memory API to supply you with memory.

     .  By convention, once the Order is set, a SELFGOTOP() should be
        issued to remain consistent with the CA-Clipper DML.

 Files:  Header file is Rdd.api.


See Also: DBORDERINFO WORKAREA orderListClear() orderListFocus()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson