>I've have a grid that displays 3 fields:
>
>Description Due Date Completion Date
>
>I've created a method that calculates the number of days 'til the completion date. I'd like to fire that method for every record in the grid.
You can createa form method that does this calculation, and make the column.controlsource for the completiondate column ="THISFORM.CalculateCompletionDate()"
>And how can I determine what row I'm in on the grid, I'd like to change the color of the grid line of the selected record.
>
you need to create a custom grid property that records the record position and set it in after rowcolchange. Then set each column's DynamicBackColor property to
IIF(this.grdcurrow = RECNO(this.recordsource), [somecolor], [someothercolor])
I think there is a sample in the files section that demonstrates this.
Erik Moore
Clientelligence