I see that your post is over a week old and it hadn't received any responses. Sorry, but I just saw it. You may have already found the answer, but here's what I do:
In the place where you want the link to appear (the last page, in your case), the HTML looks like this:
Code:
<a href="#toc">Table of Contents</a>
Then, right before the actual Table of Contents, insert this code:
I hope that helps!