>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