Using Quicken, you can record an earning received from an investment in the same security.
You can reinvest: