>Is it possible that the that line is being read as SELECT(lcCursor) instead of SELECT (lcCursor)? Try SELECT &lcCursor and see if that clears things up for you.
>
>And, as was said earlier, there's no reason to use lcCursor at all here. Call it 'fred' and be done with it. :-)
I tried &lcCursor to no avail. What's wrong with calling it Brian? Perfect name for something like this :)