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.3 . 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 work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE transRec(
                          AREAP wa,
                          LPDBTRANSINFO lpdbTransInfo
                          )

 Arguments

     wa is a pointer to self.

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

 Description

     transRec() copies a single row to another table.

 Default Behavior

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

     Note:  If an error occurs, the new record in lpdbTransInfo->lpaDest
     is deleted by a call to SELF_DELETE().

 Implementation Notes

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

     .  You should append the new copy to the target work area.

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

 Files  Header file is Rdd.api.


See Also: AREA DBTRANSINFO forceRel() trans()

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