Macros group: SQL

sc_begin_trans - This macro starts a set of transactions in the database.
sc_commit_trans - Makes all data modifications performed since the beginning of the transaction a permanent part of the database.
sc_concat - This macro is used to combine two or more strings and/or fields from the table.
sc_connection_edit - This macro edits an existing connection at runtime.
sc_connection_new - This macro creates new connections dynamically.
sc_exec_sql - This macro execute SQL commands passed as parameter or a SQL command in the SQL field action type.
sc_lookup - This macro executes a SELECT command stored in the second parameter and returns the data in a variable.
sc_lookup_field - This macro executes a SELECT command stored in the second parameter and returns the data in a variable.
sc_reset_connection_edit - This macro undoes the connection edits made by macro "sc_connection_edit".
sc_reset_connection_new - This macro undoes the connections made by the macro "sc_connection_new".
sc_select - This macro executes the commands passed in the second parameter and returns the dataset in a variable.
sc_set_fetchmode - This macro allows to change the type of return from the dataset of the select commands
sc_sql_injection - This macro is used to protect the field/variable against "SQL injection" attempts.
sc_where_current - This macro is used to make a reference of the where clause currently used.
sc_where_orig - Retrieve where clause used in original select command of the application.
Variables - Database - Global variables containing database access values used by main connection.