Well, first off, you should be aware that most RCA remotes aren't worth the cost of the plastic used to make them, but regardless, here's a link to the manual for your remote...
[Link: rca.com]You should be able to use one of the standard Panasonic TV codes to work the TV functions and one of the VCR codes to work the VCR functions.