VS:DBObjSQLSetWrite

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Set an object's SQL query for ODBC write.

This SQL query writes to database, so the query should be an UPDATE query, e.g.

UPDATE [Columns] SET [Center Mark Size]=0.5 WHERE [ID]=1

FUNCTION DBObjSQLSetWrite(
hRecord  :HANDLE;
SQLSentence  :DYNARRAY[] OF CHAR) : BOOLEAN;
def vs.DBObjSQLSetWrite(hRecord, SQLSentence):
    return BOOLEAN

Parameters

hRecord HANDLE The handle to linked record.
SQLSentence DYNARRAY[] of CHAR The UPDATE query.

Version

Availability: from Vectorworks 2011
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox