Skip to main content
Functions perform specific calculations in a particular order based on the specified values, called arguments or parameters. Function parameters can refer to specific cells; as these cell values change, the add-in automatically refreshes the results. Since Excel functions are stored within the Excel file, you can share your dynamic spreadsheets with others. In addition, they eliminate time-consuming manual entry of formulas. You can perform your tasks efficiently and save time.

CDATACONNECT.QUERY

=CDATACONNECT.QUERY(query, connection, [defaultCatalog], [defaultSchema], [paramsRange] [options]) It contains the following parameters: The following is an example of a complete CDATACONNECT.QUERY function:
The results appear just below the cell where the formula was entered.
CData Excel functions can be used with implicit cell references such as E2, E$2, or Sheet1!E2. However, since CData functions include the actual SQL statement as an argument to the function, passed as a string using double quotes, the cell reference needs to be passed outside of the quotation marks. The best way to achieve this is to use the & operator. This operator concatenates expressions in an Excel function.The following example shows a SQL statement with a WHERE clause referencing a dynamic cell reference:
This SQL statement must be entered as follows in a CData Excel function:

CDATACONNECT.INSERT

=CDATACONNECT.INSERT(data, connection, [columnHeaders]) The following formula inserts rows into the sheet:

CDATACONNECT.UPDATE

=CDATACONNECT.UPDATE(data, connection, [columnHeaders]) The following formula updates the record in row 15 of the sheet:

CDATACONNECT.DELETE

=CDATACONNECT.DELETE(data, connection, [columnHeaders]) It contains the following parameters: The following formula deletes the record in row 14 of the sheet: