You are right, I deleted the lines but I can still get in the grid


Code:
 
Set pbReadOnly of (oDetailGrid(Self)) to (ajustes.Updated EQ "" and bRec) 
Set Enabled_State of BtnActAjuste to (ajustes.Updated EQ "" and bRec )
Peter it is the parent's file server

thanks both

james