No one has recommended using an array so I'll suggest it.
I think you should create a subclass of combobox, add a custom property maValues[1]. Populate it in a custom method using a select:
select codigo, nome ;
from lote ;
into array this.maValues ;
order by 1
You can now step through the array and add \ to the front of the items that are not available for the current record. Issue a this.Requery() so the cbo will adjust itself based on the disabled items.
>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