Page History
...
Notes: Although the Copy_Row subroutine can be called from a BASIC+ program, it is preferable to use the Read and Write statements instead. Set_Status/Get_Status Error handling should be used when programmatically executing the Copy_Row routine.
See also
Copy_OS_To_Row, Copy_Row_To_OS, Delete_Row
Example
From the System Monitor:
...
Code Block |
---|
run Copy_Row "CAR_PARTS", "5*5", "", "5*20", "2" |
Example 2
Code Block |
---|
* Copying Multiple Rows from BASIC+ Program * Copy rows with keys '1' and '2' from CUSTOMERS table to the CUSTOMERS_BACKUP table. declare subroutine Copy_Row, Set_Status, FsMsg declare function Get_Status row_list = '1': @fm : '2' Set_Status(0) Copy_Row( "CUSTOMERS", row_list, "CUSTOMERS_BACKUP", row_list , 0, 0, 0 ) if Get_Status( errCodes ) then FsMsg( errCodes ) end |