Wirelessly posted (Moto Droid Bionic: Mozilla/5.0 (Linux; U; Android 2.2; en-us; UPC300-2.2 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)
I can understand you wanting to program it a certain way, but perhaps my approach may suggest an easier way. I assume your ARC program reads and writes CSV files. (I use ARC500.)
Load the scanner with the RR database, save. Then read the scanner, save the file (new file name), and export to a CSV file.
Use a spreadsheet ( I use LibreOffice, whatever you have ) to import the CSV file. Without changing column headers, edit/sort/change the data as you wish.
Import the edited CSV file into ARC, save. Reload the scanner.
Repeat/re-edit as required/desired.
I find this method is the easiest way to make bulk changes. YMMV. HTH.