>thanks Naomi
>
>**********************
>venc = DATE() - 90
>messagebox (DTOC (VENC))
>****************************
>
>Works in command window but does not work in click event of optionbox
>
>Moises
Well, there is not much in these two lines. You may add m., e.g.
=messagebox(dtoc(m.Venc)), but something else must be going on. Put a breakpoint in the method and try to debug.
If it's not broken, fix it until it is.
My Blog