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>orderlistrebuild()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 orderListRebuild()
 Rebuild all orders in the current workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE orderListRebuild(
                               WORKAREAP wa
                             )

 Arguments

     wa is a pointer to self.

 Description

     Causes all Orders in use by wa to be rebuilt.

 Default Behavior

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

 Implementation Notes

     .  Prior to a orderListRebuild(), the workarea buffer should be
        written to disk with a call to SELFGOCOLD().

     .  In a shared or read-only workarea, care should be taken to
        observe network etiquette.

     .  orderListRebuild() should build the Orders from scratch
        without depending on any calculated information already available in
        order to ensure maximum integrity of data.

     .  Once the orderListRebuild() is complete, the rebuilt Order
        should be in control and a SELFGOTOP() should be issued to remain
        consistent with the CA-Clipper DML.

 Files:  Header file is Rdd.api.


See Also: WORKAREA goCold() goTop() orderCreate()

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