In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
  
Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

Version 3 Technical Highlights - Copying Rows Programmatically

CopyRow_Sub

To copy rows programmatically the subroutine CopyRow_Sub has been added. This takes five parameters, identical to the corresponding TCL command as follows - CopyRowSub(SourceTableName, SourceRowList, DestinationTableName, DestinationRowList, Options) where

SourceTableName  Source table name.

SourceRowList    Field mark delimited list of rows to copy. Use an asterisk
                 for all rows.

DestinationTable
        Name     Destination table name. Leave blank for same table.

DestinationRow
        List     Field mark delimited list of rows to copy to. Blank for
                 same row names.

     Options     As documented with two additional undocumented options, U
                 and B. U should be used as the last option and any text
                 following the U will be used in the progress message on the
                 statusline - E.G. "U%P%% through the table". B puts
                 transaction control on the target and treats the copy as a
                 single transaction. If any of the rows fail to copy the
                 transaction is rolled back, otherwise it is committed and
                 the transaction control removed. (Thanks to Alan Humphrey
                 for the B docs)
(Volume 4, Issue 6, Pages 10,11)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel