ItemEvent and Query
I created a program that open the BP Master Data form with FORM_LOAD (ItemEvent) and add a combobox on it.
When I write the ValidValues of this combobox in the code, it works perfectly.
But when I try to insert the ValidValues with the result of a query, it doesn't work...
Is it possible to do queries inside an ItemEvent ?
Thank you !
Sorry I didn't see the end of your program where you have the New sub.
I tried your code, as is, and it works on my computer.
You may try to reinstall the DI API.