SIMPOL Documentation

update1

Description

Type Tags

None

Object Value

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

update1.new()

Description

Prototype

update1.new ( update1 me, string calculation, string whereclause, string tablename, string updatefilename, string errormessage, integer errorindex, integer error )

Parameters

ParameterDefault valueType nameDescription
meNoneupdate1
calculationNonestring
whereclauseNonestring
tablenameNonestring
updatefilenameNonestring
errormessageNonestring
errorindexNoneinteger
errorNoneinteger

Properties

PropertyTypeDescription
_type(*)
__type(*)
adddatasourcefunction
addtablefunction
calculationstring
continueboolean
datasourceupdate1datasource
dirtyboolean
fieldsdring
filenamestring
parsecalculationfunction
querysqlq1
runfunction
setcalculationfunction
tableupdate1table
tablenamestring
typetype

Methods

adddatasource()

Description

Prototype

update1var.adddatasource ( update1 me, type sourcetype, string source, type(*) datasource, string username, string password, integer retry, integer timeout, integer codepage, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneupdate1
sourcetypeNonetype
sourceNonestring
datasourceNonetype(*)
usernameNonestring
passwordNonestring
retry1000000integer
timeout5000000integer
codepageNoneinteger
errorNoneinteger

addtable()

Description

Prototype

update1var.addtable ( update1 me, type(db1table) table, string aliasname, update1datasource source, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneupdate1
tableNonetype(db1table)
aliasnameNonestring
sourceNoneupdate1datasource
errorNoneinteger

parsecalculation()

Description

Prototype

update1var.parsecalculation ( update1 me )

Parameters
ParameterDefault valueType nameDescription
meNoneupdate1

run()

Description

Prototype

update1var.run ( update1 me, string errormessage, integer errorindex, integer error )

Parameters
ParameterDefault valueType nameDescription
meNoneupdate1
errormessageNonestring
errorindexNoneinteger
errorNoneinteger

setcalculation()

Description

Prototype

update1var.setcalculation ( update1 me, string calculation )

Parameters
ParameterDefault valueType nameDescription
meNoneupdate1
calculationNonestring