VS:DBDocSetColKey: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 6: | Line 6: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
Set database table column to be as a key.</desc> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
Line 25: | Line 25: | ||
databaseName | databaseName | ||
DYNARRAY[] of CHAR | DYNARRAY[] of CHAR | ||
Data source name. | |||
</line> | </line> | ||
<line> | <line> | ||
tableName | tableName | ||
DYNARRAY[] of CHAR | DYNARRAY[] of CHAR | ||
Table name. | |||
</line> | </line> | ||
<line> | <line> | ||
columnName | columnName | ||
DYNARRAY[] of CHAR | DYNARRAY[] of CHAR | ||
Column name. | |||
</line> | </line> | ||
<line> | <line> | ||
setIsKey | setIsKey | ||
BOOLEAN | BOOLEAN | ||
Set TRUE if this column to be used as key in WHERE clauses. | |||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 13:37, 4 November 2015
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Set database table column to be as a key.
FUNCTION DBDocSetColKey(
databaseName :DYNARRAY[] of CHAR;
tableName :DYNARRAY[] of CHAR;
columnName :DYNARRAY[] of CHAR;
setIsKey :BOOLEAN) : BOOLEAN;
def vs.DBDocSetColKey(databaseName, tableName, columnName, setIsKey): return BOOLEAN
Parameters
databaseName DYNARRAY[] of CHAR Data source name. tableName DYNARRAY[] of CHAR Table name. columnName DYNARRAY[] of CHAR Column name. setIsKey BOOLEAN Set TRUE if this column to be used as key in WHERE clauses.
Version
Availability: from Vectorworks 2011