Joe,
I tried what you're doing with no problem. All I can think is make sure your ncurrrec property is getting set correctly. You might try making the expression use a known record number, like 1 (IIF(RECNO()=1, "*", "")), and seeing if the first row is flagged. Also, if all you want is a flag indicating the current record, I assume you know about the RecordMark property.
Mark
>Actually, my objective is to have a thin column with a single character that indicates which record i'm on in the grid. I've already got a Grid property called nCurrRec which is being updated to reflect the current record. I need the funtion in my ControlSource so I can say something like:
>IIF(RECNO()=THIS.parent.ncurrrec, "*", "")
>So I can flag the actual record that I'm on
>
>I HAVE looked at another way of indicating the current record by highlighting every column of the current record, but it takes too long.
>
>Any other ideas?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.