Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using 2 combobox in grid filtered
Message
De
15/03/2020 09:38:31
 
 
À
13/03/2020 13:33:03
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01673609
Message ID:
01673626
Vues:
65
>Hello community,
>I need to create 2 comboboxes in a grid with bindevents (I need to use Bindevents, because i dont have access to code source) , and when I select an item in combo 1, the second combobox returns the filtered records.
>both combobox's recordsourcetype is SQL and will return a cursor.
>Example:
>if combobox value 1 = 01, then in combo2 only registers starting with A should appear, for example. A01, A02 ... etc, if combobox 1 = 02 should appear in combobox 2 all records starting with B, eg. B01, B02 ... etc.
>How can I do this? does anyone have a small example of code they can share?
>thank you
>Best regards,
>Luis

Luís, maybe you could try to clarify what you're intending to do.

For instance, I still don't know why do you need to go BINDEVENTS() and what do you mean by not having the "source code". Source code for what? The combobox classes you need to instantiate?
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform