>I have on my form a grid and a textbox. The user types in the textbox which has code to search in the table. As they type it searchs the table. I have the following code in the interactivechange event thisform.grdsearch.setall("Dynamicbackcolor",;
> "RGB(0,255,0)",;
> "Column")
>however this turns the hold grid to the color when what is only for the row to turn color. What am i doing wrong.
You don't have the condition in your code.
It supposed to be something like that:
thisform.grdsearch.Setall("DynamicBackColor", "IIF(somefield = thisform.textbox.value, RGB(0,255,0),RGB(255,255,255))", "Column")
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison