SIMPOL Documentation

Chapter 58. odbcsql1

odbcsql1

Description

Type Tags

sqlq1

Object Value

Objects of type odbcsql1 have no value, and it is an error to try to get or set this value.

odbcsql1.new()

Description

Prototype

odbcsql1.new ( odbcsql1 me )

Parameters

ParameterDefault valueType nameDescription
meNoneodbcsql1

Properties

PropertyTypeDescription
clearsettingsfunction
columnsarray
connectionodbc1connection
defdisplayformatsarray
executedboolean
findcolumndatatypefunction
findcolumnsourcefunction
getcolumncountfunction
getcolumndatatypefunction
getcolumndisplayformatfunction
getcolumntableandfieldnamesfunction
getcolumntitlefunction
getcolumnvaluefunction
getrowfunction
gotallrowsboolean
gotrowboolean
hastablefunction
newfunction
orderclausestring
preparefunction
preparedboolean
rowdataarray
selectclausestring
setcolumndisplayformatfunction
setdefaultformatsfunction
setodbcconnectionfunction
setorderclausefunction
setselectclausefunction
setwhereclausefunction
statementodbc1statement
typetype
whereclausestring

Methods

clearsettings()

Description

Prototype

odbcsql1var.clearsettings ( odbcsql1 me, boolean gotrow, boolean gotallrows, boolean prepared, boolean executed )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
gotrow.falseboolean
gotallrows.falseboolean
prepared.falseboolean
executed.falseboolean

findcolumndatatype()

Description

Prototype

odbcsql1var.findcolumndatatype ( odbcsql1 me, integer colno, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
errormessageNonestring

findcolumnsource()

Description

Prototype

odbcsql1var.findcolumnsource ( odbcsql1 me, integer colno )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger

getcolumncount()

Description

Prototype

odbcsql1var.getcolumncount ( odbcsql1 me, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
errormessageNonestring

getcolumndatatype()

Description

Prototype

odbcsql1var.getcolumndatatype ( odbcsql1 me, integer colno, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
errormessageNonestring

getcolumndisplayformat()

Description

Prototype

odbcsql1var.getcolumndisplayformat ( odbcsql1 me, integer colno, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
errormessageNonestring

getcolumntableandfieldnames()

Description

Prototype

odbcsql1var.getcolumntableandfieldnames ( odbcsql1 me, integer colno, string tablename, string fieldname, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
tablenameNonestring
fieldnameNonestring
errormessageNonestring

getcolumntitle()

Description

Prototype

odbcsql1var.getcolumntitle ( odbcsql1 me, integer colno, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
errormessageNonestring

getcolumnvalue()

Description

Prototype

odbcsql1var.getcolumnvalue ( odbcsql1 me, integer colno, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
errormessageNonestring

getrow()

Description

Prototype

odbcsql1var.getrow ( odbcsql1 me, string errormessage, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
errormessageNonestring
errorNoneinteger

hastable()

Description

Prototype

odbcsql1var.hastable ( odbcsql1 me, string tablename )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
tablenameNonestring

prepare()

Description

Prototype

odbcsql1var.prepare ( odbcsql1 me, string errormessage, integer errorindex )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
errormessageNonestring
errorindexNoneinteger

setcolumndisplayformat()

Description

Prototype

odbcsql1var.setcolumndisplayformat ( odbcsql1 me, integer colno, string displayformat, string errormessage )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
colnoNoneinteger
displayformatNonestring
errormessageNonestring

setdefaultformats()

Description

Prototype

odbcsql1var.setdefaultformats ( odbcsql1 me, string defnumberformat, string defdateformat, string deftimeformat, string defdatetimeformat, string defintegerformat, string defbooleanformat )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
defnumberformatNonestring
defdateformatNonestring
deftimeformatNonestring
defdatetimeformatNonestring
defintegerformatNonestring
defbooleanformatNonestring

setodbcconnection()

Description

Prototype

odbcsql1var.setodbcconnection ( odbcsql1 me, odbc1connection connection )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
connectionNoneodbc1connection

setorderclause()

Description

Prototype

odbcsql1var.setorderclause ( odbcsql1 me, string orderclause )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
orderclauseNonestring

setselectclause()

Description

Prototype

odbcsql1var.setselectclause ( odbcsql1 me, string selectclause, string errormessage, integer errorindex )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
selectclauseNonestring
errormessageNonestring
errorindexNoneinteger

setwhereclause()

Description

Prototype

odbcsql1var.setwhereclause ( odbcsql1 me, string whereclause, string errormessage, integer errorindex )

Parameters
ParameterDefault valueType nameDescription
meNoneodbcsql1
whereclauseNonestring
errormessageNonestring
errorindexNoneinteger