Hi Bob "I suspect that the error is caused by code other than that you posted" - how very true !!
Sorry to have wasted your time - but sometimes you need to be told you are looking in the wrong place !! Thanks again Paul Sanders -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/