Hmmmm.....are you refreshing the grid in AfterRowColumnChange?
>I have an immediate IF statement in a DynamicCurrentControl property of a grid which results in either the name of textbox control for the column or "". This either displays or hides the individual controls depending on the condition for the row. The problem is that the value being displayed seems to hang-on from one row to the next regardless of the condition. But not always; if I move between the rows more than a couple times, it does not seem to do it. The column is bound to a controlsource field in a view and the updating seems to work fine. I've tried a number of things using focus, when, valid, etc. with no luck. Is there something about Foxpro that's quirky regarding grids or am I the one who's quirky in how I'm trying to use it?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05