Quote Originally Posted by DigiRev
There's an even better API function to use, but I forget what it is.
This should jog your memory.