If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Solved it now. Basically, the code was correct but it has to be in a procedure or function for it to work which wasn't explicitly stated. I had assumed it could be in the general code.