SIMPOL Documentation

Chapter 64. recordview

trecordview

Description

Type Tags

None

Object Value

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

trecordview.new()

Description

Prototype

trecordview.new ( trecordview me, integer width, integer height, type(db1table) table, type(db1index) idx, type(wxcontainer) window, string defboolean, string definteger, string defnumber, string defdate, string deftime, string defdatetime, SBLlocaledateinfo datelocale, SBLNumSettings numlocale, wxfont font, type(db1record) record, tdataview dataview, boolean useview, string inifilename, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonetrecordview
widthNoneinteger
heightNoneinteger
tableNonetype(db1table)
idxNonetype(db1index)
windowNonetype(wxcontainer)
defbooleanT|Fstring
definteger.string
defnumber999999.00string
defdateyyyy.0m.0dstring
deftimehh:mm:ssstring
defdatetimeNonestring
datelocaleNoneSBLlocaledateinfo
numlocaleNoneSBLNumSettings
fontNonewxfont
recordNonetype(db1record)
dataviewNonetdataview
useview.falseboolean
inifilenameNonestring
errorNoneinteger

Properties

PropertyTypeDescription
_type(*)
__type(*)
_privatetrecordviewprivate
assignfilterobjectfunction
clearfunction
columninfoarray
columninfoviewarray
currentviewtdataview
datelocaleSBLlocaledateinfo
defbooleanstring
defdatestring
defdatetimestring
defintegerstring
defnumberstring
deftimestring
deleterecordfunction
displayformatstring
displaymessagesboolean
duplicaterecordfunction
filterdataform1filter
fontwxfont
formdataform1
getcolinfofunction
getindexdisplayformatfunction
griddataform1grid
gridinfotrecordviewgridinfo
heightinteger
hidefunction
idxtype(db1index)
inifilenamestring
isdirtyboolean
isreadonlyboolean
lastusedrecordtype(db1record)
messagetitlestring
newrecordfunction
numlocaleSBLNumSettings
ondeleteevent
onnewrecordevent
onsaveevent
recordtype(db1record)
resizefunction
saverecordfunction
selectcurrentfunction
selectfforwardfunction
selectfirstfunction
selectkeyfunction
selectlastfunction
selectnextfunction
selectpreviousfunction
selectrewindfunction
setdataviewfunction
setfilterfunction
setinitialrecordfunction
setlastusedrecordfunction
setreadonlyfunction
settablefunction
showfunction
showviewfunction
tabletype(db1table)
temprecordtype(db1record)
typetype
updategridfunction
useviewboolean
widthinteger
windowtype(wxcontainer)

Methods

assignfilterobject()

Description

Prototype

trecordviewvar.assignfilterobject ( trecordview me, dataform1filter dffilter )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
dffilterNonedataform1filter

clear()

Description

Prototype

trecordviewvar.clear ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

deleterecord()

Description

Prototype

trecordviewvar.deleterecord ( trecordview me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
errorNoneinteger

duplicaterecord()

Description

Prototype

trecordviewvar.duplicaterecord ( trecordview me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
errorNoneinteger

getcolinfo()

Description

Prototype

trecordviewvar.getcolinfo ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

getindexdisplayformat()

Description

Prototype

trecordviewvar.getindexdisplayformat ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

hide()

Description

Prototype

trecordviewvar.hide ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

newrecord()

Description

Prototype

trecordviewvar.newrecord ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

resize()

Description

Prototype

trecordviewvar.resize ( trecordview me, integer width, integer height )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
widthNoneinteger
heightNoneinteger

saverecord()

Description

Prototype

trecordviewvar.saverecord ( trecordview me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
errorNoneinteger

selectcurrent()

Description

Prototype

trecordviewvar.selectcurrent ( trecordview me, type(db1index) index, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
indexNonetype(db1index)
lock.falseboolean
errorNoneinteger

selectfforward()

Description

Prototype

trecordviewvar.selectfforward ( trecordview me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
errorNoneinteger

selectfirst()

Description

Prototype

trecordviewvar.selectfirst ( trecordview me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
lock.falseboolean
errorNoneinteger

selectkey()

Description

Prototype

trecordviewvar.selectkey ( trecordview me, anyvalue value, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
valueNoneanyvalue
lock.falseboolean
errorNoneinteger

selectlast()

Description

Prototype

trecordviewvar.selectlast ( trecordview me, boolean lock, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
lock.falseboolean
errorNoneinteger

selectnext()

Description

Prototype

trecordviewvar.selectnext ( trecordview me, boolean lock, boolean ignorefastselection, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
lock.falseboolean
ignorefastselection.falseboolean
errorNoneinteger

selectprevious()

Description

Prototype

trecordviewvar.selectprevious ( trecordview me, boolean lock, boolean ignorefastselection, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
lock.falseboolean
ignorefastselection.falseboolean
errorNoneinteger

selectrewind()

Description

Prototype

trecordviewvar.selectrewind ( trecordview me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
errorNoneinteger

setdataview()

Description

Prototype

trecordviewvar.setdataview ( trecordview me, array fieldlist, string name, tdataview dataview, boolean useview, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
fieldlistNonearray
nameNonestring
dataviewNonetdataview
useview.trueboolean
errorNoneinteger

setfilter()

Description

Prototype

trecordviewvar.setfilter ( trecordview me, string filter, string errtext, integer errindex )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
filterNonestring
errtextNonestring
errindexNoneinteger

setinitialrecord()

Description

Prototype

trecordviewvar.setinitialrecord ( trecordview me, type(db1record) r, boolean dorefresh, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
rNonetype(db1record)
dorefresh.falseboolean
errorNoneinteger

setlastusedrecord()

Description

Prototype

trecordviewvar.setlastusedrecord ( trecordview me, type(db1record) record )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
recordNonetype(db1record)

setreadonly()

Description

Prototype

trecordviewvar.setreadonly ( trecordview me, boolean setreadonly )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
setreadonly.falseboolean

show()

Description

Prototype

trecordviewvar.show ( trecordview me )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview

showview()

Description

Prototype

trecordviewvar.showview ( trecordview me, boolean show )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
show.trueboolean

updategrid()

Description

Prototype

trecordviewvar.updategrid ( trecordview me, type(db1record) r )

Parameters
ParameterDefault valueType nameDescription
meNonetrecordview
rNonetype(db1record)