Chapter 2. Classes in alphabetical order

Table of Contents

hk_actionquery
hk_button
hk_class
hk_colour
hk_column
hk_connection
hk_data
hk_database
hk_datasource
hk_datetime
hk_drivermanager
hk_dsboolean
hk_dscombobox
hk_dsdatavisible
hk_dsgrid
hk_dsgridcolumn
hk_dsimage
hk_dslineedit
hk_dsmemo
hk_dsmodevisible
hk_dsrowselector
hk_dsvisible
hk_font
hk_form
hk_key
hk_label
hk_mimetype
hk_presentation
hk_report
hk_reportdata
hk_reportsection
hk_reportsectionpair
hk_subform
hk_visible

hk_actionquery

Inherits from hk_data. In contrary to Result Queries (queries with a SELECT - SQL-statement) action queries manipulate data like ALTER TABLE or INSERT INTO. There is no resulting data. Such a query is either successful or fails.

set_sql(sqlstatement [,convertdelimiter])

sets the SQL statement. If convertdelimiter is False (the default) the identifier delimiters and text delimiters have to fit your SQL backend definitions. If set to True, hk_classes will fix the delimiters if the backend needs non-standard delimiters. (Remember: ANSI SQL identifier delimiter is a double quote ", and the ANSI SQL text delimiter is a single quote ').

sql()

returns the used SQL statement

length()

the length in bytes of the SQL statement

execute()

executes the SQL statement and returns True if successful.