> Hello All, someone here how can i do to disable a item in a Combo Box,
>
> I have a Combo Box and its properties are:
>
> RecordSource=Lote.Codigo,Nome
> RecordSourceType=Fields
>
> I have a relation between Lotes and Vendas, I would like to disable the
>Itens that are in Vendas table
>
>
> Table Lotes
>
> Codigo Nome
>
> 000001 Lote.....
> 000002 Lote.....
> 000003 Lote.....
> .
> .
>
> Table Vendas(Sales)
>
> CodLote ....
>
> 000002 ....
>
> The itens into my combo box must be:
>
> 000001 enabled
> 000002 disabled
> 000003 Enabled
you could:
set relation to codigo into vendas
set filter to eof("Vendas")
item 2 would then not even appear in the combobox
Mark McCasland
Midlothian, TX USA