There's two concepts going on here. The first is "programming" buttons using the advanced codes listed above, the second is "learning" commands from the original remote.
Kenwood is notorious for using more than one device code in their remotes. In the case of the VR-309 it uses 3 device codes. The first two are covered by the OFA remotes using device codes 0313 and 0314. They have also used a third device code for the VIDEO3 button that is not covered by the OFA remotes, so if you need this button you will have to "learn" it from the original remote (ie, put the remotes head-to-head and use the 975 command). Print off the manual from the site below for more info.
The one thing that I think might not be clear in Cav's instructions above is that you don't need to use two seperate device buttons to control the VR-309.
Here's how you would program the device button using two device codes...
1. First, program the device code to 0314.
2. Decide which buttons from the 0314 code you need and program them to the buttons of your choice.
3. Now, re-program the device button to code 0313. The buttons you just programmed will still be active where you programmed them.
4. Now program any functions using the 0313 adv codes that are not automatically mapped out.
Hope this clarifies it a little.