Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable a item in a Combo Box!
Message
 
 
À
01/07/1998 21:58:34
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00113646
Message ID:
00113798
Vues:
24
> 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform