>Thanks very much Aaron
>
>However, I have not been successful with your code yet. Could be adaptation problems.
>
>In
>
>ogrd.SetAll("DynamicBackColor", "thisform.getAge(client.age,client.sex)", "Column")
>
>
>Could you please explain client.age, and client.sex, how used, and how linked/adapted to the code created in the new method created? Is the method created in a grid class itself?
>
>Thanks very much!
>
>Regards,
>
>Steve.
To get this to work, you must make getage a method of your form. You can also add the Getage function to a procedure file which is specified by Set Procedure, or you can let it be a separate file Getage.prg. In that case, you use this syntax
ogrd.SetAll("DynamicBackColor", "getAge(client.age,client.sex)", "Column")