>Hello Bill, Cetin and Edward i thank to you again, but now my problem is how i do to add a item with 2 colunms
>Codigo and Nome
>
>I try This.AddItem(Lote.Codigo, Lote.Nome) and i didn't get
>
>What can be wrong
>
>
>Thanks again
Anderson,
With additem AFAIK you can't do that. Instead use AddListItem.
nNewId = recno("lote")
This.addlistitem(Lote.Codigo, nNewId, 1)
This.addlistitem(Lote.Nome, nNewId, 2)
Cetin