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>transrec()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 transRec()
 Copy a single row (record) to another workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE transRec(
                       WORKAREAP wa,
                       DBTRANSINFOP dbTransInfo
                     )

 Arguments

     wa is a pointer to self.

     dbTransInfo is a pointer to a structure containing information about
     the transfer of data.

 Description

     Copies a single row to another table.

 Default Behavior

     Copies the current row from wa to the database specified by dbTransInfo.

     Note:  If an error occurs, the new record in dbTransInfo->dest is
     deleted by a call to SELFDELETE().

 Implementation Notes

     .  If your RDD supports relations, update them in the source
        workarea with a forceRel() prior to attempting to perform the copy.

     .  You should append the new copy to the target workarea.

     .  A reimplementation of transRec() should check locks and read-
        only status in the target database.

 Files:  Header file is Rdd.api.


See Also: DBTRANSINFO WORKAREA forceRel() trans()

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