try posting to the thread I pointed you to, as Oldsoftboss created it he might able help you. It just sounds like you need to set the references for the function.
Post the actual action you did for it to cause the error, with a little bit more detail and we should be able to pinpoint the...