Do you have an API that can give us the name of the datasource that is used in a Pre-Query event? We would like to call a generic action in the Pre-Query event of a datasource and need the name of the datasource in our database procedure. |
Hi Peter, You can use api_application.getEvent API to determine the name of the object triggering the event.
Regards, Ibrahim This is indeed what we need! Thanks! One tiny remark: in your example code you declare v_event_t with a wrong type; it should be api_event.t_event.
(06 Dec '12, 02:33)
Peter W
Thanks Peter, my mistake, I fixed it.
(06 Dec '12, 03:02)
Ibrahim Sand... ♦♦
|