is there a way to get a record of all text messages from my phone with details of the messages?
The short answer is no. You would have to install an app that saves incoming and outgoing text messages beforehand. If this is for legal reasons, you'll need a court order. The only phone(s) I'm aware of are the Nokia Lumia line of devices which allow you to save text messages to the cloud.