>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?
Renoir,
The column can display the value of its controlsource without a textbox. My suggestion is to put a second textbox in the column, set the column's bound property to .F. and set the controlsource for text1 to the controlsource you want. Make the dynamic current control be Text1 when the data should be seen adn text2 when it should not be seen.