Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using 2 combobox in grid filtered
Message
From
15/03/2020 09:38:31
 
 
To
13/03/2020 13:33:03
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01673609
Message ID:
01673626
Views:
67
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform