>Hi Luis,
>
>The simple answer is, that the Column you bound to is not Column13.
>Also, if there is only one Column with that Controlsource Exit the loop:
>
>try
>
>FOR EACH loColumn IN oGrid.Columns
> FOR EACH loControl IN loColumn.Controls
> IF loColumn.text1.controlsource = 'BI.LOBS3'
> BINDEVENT( loControl, 'DblClick', oManipulador, 'OnDblClick' )
>*show column's name
>?loColumn.NAME
>*end the loop:
> EXIT
> ENDIF
> ENDFOR
>ENDFOR
>
>
>Once you figured out the right column, you might use this instead of the loop
>Lutz
>
>Hi Lutz,
>
>I don't even know how to thank you for all your help.
>Running the script I send, it returns column13
>
>Thank you so much again ..!!
>
>Best regards,
>Luis
You are welcome.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]