Dear all, I want to run my own custom procedure before the Query On Initialize in datasource creation screen. Kindly, tell me how I can do it. Regards. George |
Hi George, The pre-query event triggers every time the datasource is queried, just before the execution. I guess you want to run your custom procedure only once, just before the first execution of the datasource. If so, you can define a flag and check it in the pre-query event. Best Regards, Hi Ibrahim, Ya, I tried that. Unfortunately I am not able get the name of the datasource that is invoking the pre-query. I need to know the datasource in pre-query so that I can make my procedure generic. Otherwise I will need to write as many pre-query procedures as there are datasources in my system. Can you kindly help me with the right API for getting the datasource name that is invoking the pre-query? George.
(08 Apr '14, 14:45)
grajan777
Hi George, You can use Regards,
(08 Apr '14, 15:19)
Ibrahim Sand... ♦♦
|