Hi Sergey
(sheepish grin)
You're right - I've been bitten by the comments after problem again. I excised the comments for the post for brevity.
Man, you're good! even finding errors when the example's not complete! :-)
Thanks again
Terry
>Hi Terry,
>
>Are you sure that code that fails is exactly the same? Maybe it looks more like following?
...
> into Cursor csrNewRESUs NOFILTER
>* Comment ;
>lnRecCount = _TALLY
>If lnRecCount > 0
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.