Max,
It's better to use field/variable name so you don't have to change it in case you rearrange the screen.
_CUROBJ = OBJNUM( pender.payment )
>Hi Sergey,
>
>Can you help me a little more please? Is this what I should put in the code?
>_CUROBJ = OBJNUM( 53, pender.payment )
>
>The object number is 53, the table is pender and the field is called payment.
>Thanks!
>Max
--sb--