I'm getting an odd result when using the .SETALL() method in a grid.
I'm trying to highlight the 'current' record. In the .INIT() method for the grid object I've got a line of code that is
WITH THIS
.SetAll("DynamicBackColor", ;
"IIF( THIS.RecordNumber = RECNO(THIS.RecordSource), c_current, c_normal )", "Column")
The IIF() is handling the moving of the current record, and that works OK.
C_CURRENT and C_NORMAL are the two colours - C_CURRENT is usually highlight yellow while C_NORMAL is usually white, but they can be changed by the user.
Now, what's happening is that I've got 17 columns in the grid. The .SETALL() works OK for the first 14, but not for the last three for some reason.
Any suggestions as to what I'm doing wrong?
Using version 9.0 SP2.
Will go and look at Highlight.