Thanks for the responses. I managed to fix the problem "kinda". I was using too many tables just when i should of been using one table for this forum. Its working fine now.
Fernando Soto
That is great, have a nice day.
sarabande
The solution was not more than to explain the error message and give a hint that the type of the variable listgames might be wrong. As the Author was able to solve the issue by pursuing the hints, the question can be normally closed with an equal split.