I've worked it out!
Instead of putting $Members in the SS page I did this:
<% control Members %>
<p>$Class</p>
<p>$Name</p>
...
...
<% end_control %>
Now I get all the data from the other database. Now just to style it up in a table.
Thanks a lot Willr for your help!