Code I wrote to extract the database information from a Crystal Report.