Selection Change Handlers

Selection Change Handlers

SaveToDB products let you execute handlers on selection change events.

You can use these handlers to display related details or images, for instance.

To add a handler, specify the SelectionChange event type in the xls.handlers table.

Here's an example:

IDTABLE_SCHEMATABLE_NAMECOLUMN_NAMEEVENT_NAMEHANDLER_SCHEMAHANDLER_NAMEHANDLER_TYPEHANDLER_CODETARGET_WORKSHEETMENU_ORDEREDIT_PARAMETERS
 s05view_ordersSelectionChanges05xl_select_order_detailsPROCEDURE_taskpane
 s08EmployeesSelectionChanges08EmployeePhotoInWindowCODE<SQL code>

In this example, the SQL code is:

SELECT Photo FROM s08.Employees WHERE EmployeeID = @EmployeeID

For more information about output targets, refer to the xls.handlers topic.

This website is using cookies. By continuing to browse, you give us your consent to our use of cookies as explained in our Cookie Policy.