Navigation:  CodeBase >

Save data from one file into another

Print this Topic Previous pageReturn to chapter overviewNext page

 

When accessing Btrieve files you can read a record from one file and save it into another using just the FINDV and SAVE commands, as long as both files use the same FD.  In CodeBase this does not work.  You must use the XFER command (REC_BUFF option) and move the record buffer from the found record to the record you're going to save.

 

If, however, you want to access the fields for each file you must set the appropriate file active with the SETCBACTIVE command.

 


Page url: http://www.cassoftware.com/tas/manual/savedatafromonefileintoa.htm