Thanks for your assistance
Well I did follow the "creating an Order History page for customers" to the letter when I went through it and it appeared the pages were created properly. I entered some test transactions into the data base plus I had some real transactions in there already.
But when I open the pages in the browser it would say "No results for your search". As to the linking, I added a link to the "order history' page and that worked but it didn't link to the "order details" even when logged in.
I don't know why it hasn't worked! I will start again and see what happens!