Class tmsebufdataset
Unit
Declaration
type tmsebufdataset = class(tmdbdataset, iblobchache, idatasetsum, imasterlink, idbdata, iobjectlink)
Description
Keeps three buffers: the record buffer holds all fetched records (fkdata and fkinternalcalc field values — see oninternalcalcfields); the update buffer, managed by this class, holds a copy of a record's original values as soon as it is first modified/inserted/deleted by Post, used by applyupdates to build the update statements and by cancelupdates (all pending records) or cancelupdate (the current record only) to restore the record buffer; the edit buffer, managed by the inherited tdataset, is the display/edit window used by the connected widgets and grids (as many rows as the largest connected grid needs) and is also where fkcalculated field values, computed on the fly by OnCalcFields, live — unlike fkdata/fkinternalcalc fields, they are not part of the record buffer. Only fkdata and fkinternalcalc fields can be used in indexlocal.
Hierarchy
- TDataset
- tmdbdataset
- tmsebufdataset
Overview
Fields
| Protected | foldopts: bufdatasetoptionsty; |
| Protected | fcontroller: tdscontroller; |
| Protected | foptions: bufdatasetoptionsty; |
| Protected | fbrecordcount: integer; |
| Protected | ffieldinfos: fieldinfoarty; |
| Protected | ffieldorder: integerarty; |
| Protected | factindexpo: pindexty; |
| Protected | fbstate: bufdatasetstatesty; |
| Protected | fbstate1: bufdatasetstates1ty; |
| Protected | fallpacketsfetched: boolean; |
| Protected | fapplyindex: integer; |
| Protected | ffailedcount: integer; |
| Protected | frecno: integer; |
| Protected | findexes: array of indexty; |
| Protected | fblobcache: blobcacheinfoarty; |
| Protected | fblobcount: integer; |
| Protected | ffreedblobs: integerarty; |
| Protected | ffreedblobcount: integer; |
| Protected | fcurrentbuf: pintrecordty; |
| Protected | fcurrentupdating: integer; |
| Protected | flastcurrentindex: integer; |
| Protected | fsavepointlevel: integer; |
| Protected | fappliedcount: card32; |
Methods
| Protected | procedure doidleapplyupdates() virtual; |
| Protected | procedure setoptions(const avalue: bufdatasetoptionsty) virtual; |
| Protected | function getdefaultoptions: bufdatasetoptionsty virtual; |
| Protected | procedure openlocal; |
| Protected | procedure fixupcurrentset; virtual; |
| Protected | procedure currentcheckbrowsemode; |
| Protected | function getrestorerecno: boolean; |
| Protected | procedure setrestorerecno(const avalue: boolean); |
| Protected | procedure dogetcoldata(const afield: tfield; const afieldtype: tfieldtype; const step: integer; const data: pointer); |
| Protected | function getcurrentlookuppo(const afield: tfield; const afieldtype: tfieldtype; const arecord: pintrecordty): pointer; |
| Protected | function getcurrentpo(const afield: tfield; const afieldtype: tfieldtype; const arecord: pintrecordty): pointer; |
| Protected | function beforecurrentget(const afield: tfield; const afieldtype: tfieldtype; var aindex: integer): pointer; |
| Protected | function beforecurrentbmget(const afield: tfield; const afieldtype: tfieldtype; const abm: bookmarkdataty): pointer; |
| Protected | function setcurrentpo(const afield: tfield; const afieldtype: tfieldtype; const arecord: precheaderty; const aisnull: boolean; out changed: boolean): pointer; |
| Protected | function beforecurrentset(const afield: tfield; const afieldtype: tfieldtype; var aindex: integer; const aisnull: boolean; out changed: boolean): pointer; |
| Protected | procedure aftercurrentset(const afield: tfield); virtual; |
| Protected | function beforecurrentbmset(const afield: tfield; const afieldtype: tfieldtype; const abm: bookmarkdataty; const aisnull: boolean; out changed: boolean): pointer; |
| Protected | procedure getbminteger(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmlargeint(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmcurrency(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmfloat(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmstring(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmboolean(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmdatetime(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmvariant(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | procedure getbmguid(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
| Protected | function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload; |
| Protected | function getfieldbuffer(const afield: tfield; const aisnull: boolean; out datasize: integer): pointer; overload; virtual; |
| Protected | procedure fieldchanged(const field: tfield); |
| Protected | function getfiltereditkind: filtereditkindty; |
| Protected | function blobsarefetched: boolean; |
| Protected | function getblobcache: blobcacheinfoarty; |
| Protected | function findcachedblob(var info: blobcacheinfoty): boolean; overload; |
| Protected | function findcachedblob(const id: int64; out info: blobcacheinfoty): boolean; overload; |
| Protected | function addblobcache(const adata: pointer; const alength: integer): integer; overload; |
| Protected | function addblobcache(const aid: int64; const adata: string): integer; overload; |
| Protected | procedure updatestate; |
| Protected | function getintblobpo: pblobinfoarty; |
| Protected | procedure internalcancel; override; |
| Protected | procedure FreeFieldBuffers; override; |
| Protected | procedure cancelrecupdate(var arec: recupdatebufferty); |
| Protected | procedure setdatastringvalue(const afield: tfield; const avalue: string); |
| Protected | procedure resetblobcache; |
| Protected | procedure sortblobcache; |
| Protected | procedure fetchblobs; |
| Protected | procedure fetchallblobs; |
| Protected | procedure getofflineblob(const data: precheaderty; const aindex: integer; out ainfo: blobstreaminfoty); |
| Protected | procedure setofflineblob(const adata: precheaderty; const aindex: integer; const ainfo: blobstreaminfoty); |
| Protected | function getblobrecpo: precheaderty; |
| Protected | procedure savepointevent(const sender: tmdbtransaction; const akind: savepointeventkindty; const alevel: integer); override; |
| Protected | procedure packrecupdatebuffer; |
| Protected | procedure restorerecupdatebuffer; |
| Protected | procedure postrecupdatebuffer; |
| Protected | procedure recupdatebufferapplied(const abuf: precupdatebufferty); |
| Protected | procedure recupdatebufferdropped(const abuf: precupdatebufferty); |
| Protected | procedure editapplyerror(const arecupdatenum: integer); |
| Protected | procedure internalapplyupdate(const maxerrors: integer; const cancelonerror: boolean; const cancelondeleteerror: boolean; out response: resolverresponsesty); |
| Protected | procedure afterapply; virtual; |
| Protected | procedure freeblob(const ablob: blobinfoty); |
| Protected | procedure freeblobs(var ablobs: blobinfoarty); |
| Protected | procedure deleteblob(var ablobs: blobinfoarty; const aindex: integer; const afreeblob: boolean); overload; |
| Protected | procedure deleteblob(var ablobs: blobinfoarty; const afield: tfield; const adeleteitem: boolean); overload; |
| Protected | procedure addblob(const ablob: tblobbuffer); |
| Protected | procedure setrecno1(value: longint; const nocheck: boolean); |
| Protected | procedure setrecno(value: longint); override; |
| Protected | function getrecno: longint; override; |
| Protected | function getchangecount: integer; virtual; |
| Protected | function getapplyerrorcount: integer; virtual; |
| Protected | function allocrecordbuffer: pchar; override; |
| Protected | procedure internalinitrecord(buffer: pchar); override; |
| Protected | procedure clearcalcfields(buffer: pchar); override; |
| Protected | procedure freerecordbuffer(var buffer: pchar); override; |
| Protected | function getcanmodify: boolean; override; |
| Protected | function getrecord(buffer: pchar; getmode: tgetmode; docheck: boolean): tgetresult; override; |
| Protected | function GetNextRecord: Boolean; override; |
| Protected | function GetNextRecords: Longint; override; |
| Protected | function bookmarkdatatobookmark(const abookmark: bookmarkdataty): bookmarkty; |
| Protected | function bookmarktobookmarkdata(const abookmark: bookmarkty): bookmarkdataty; |
| Protected | function findbookmarkindex(const abookmark: bookmarkdataty): integer; |
| Protected | procedure checkrecno(const avalue: integer); |
| Protected | procedure setonfilterrecord(const value: tfilterrecordevent); override; |
| Protected | procedure setfiltered(value: boolean); override; |
| Protected | procedure filterchanged1(const aloaded: boolean); |
| Protected | procedure setactive(value: boolean); override; |
| Protected | procedure CalculateFields(Buffer: PChar); override; |
| Protected | procedure notification(acomponent: tcomponent; operation: toperation) override; |
| Protected | procedure loadedoverride; |
| Protected | procedure defineproperties(filer: tfiler) override; |
| Protected | procedure readstate(reader: treader) override; |
| Protected | procedure OpenCursor(InfoQuery: Boolean); override; |
| Protected | procedure internalopen; override; |
| Protected | procedure internalclose; override; |
| Protected | procedure clearbuffers; override; |
| Protected | procedure internalinsert; override; |
| Protected | procedure internaledit; override; |
| Protected | procedure dataevent(event: tdataevent; info: ptrint); override; |
| Protected | procedure checkconnected; |
| Protected | procedure startlogger; |
| Protected | procedure closelogger; |
| Protected | procedure savestate(const awriter: tbufstreamwriter); |
| Protected | function getfieldclass(fieldtype: tfieldtype): tfieldclass; override; |
| Protected | function getnextpacket(const all: boolean) : integer; |
| Protected | function getrecordsize: word; override; |
| Protected | procedure saveindex(const oldbuffer,newbuffer: pintrecordty; var ar1,ar2,ar3: integerarty); |
| Protected | procedure relocateindex(const abuffer: pintrecordty; const ar1,ar2,ar3: integerarty); |
| Protected | procedure internalpost; override; |
| Protected | procedure internaldelete; override; |
| Protected | procedure internalfirst; override; |
| Protected | procedure internallast; override; |
| Protected | procedure internalsettorecord(buffer: pchar); override; |
| Protected | procedure internalgotobookmark(abookmark: pointer); override; |
| Protected | procedure setbookmarkdata(buffer: pchar; data: pointer); override; |
| Protected | procedure setbookmarkflag(buffer: pchar; value: tbookmarkflag); override; |
| Protected | procedure getbookmarkdata(buffer: pchar; data: pointer); override; |
| Protected | function getbookmarkdata1: bookmarkdataty; |
| Protected | function getbookmarkflag(buffer: pchar): tbookmarkflag; override; |
| Protected | function getfieldblobid(const field: tfield; out aid: blobidty): boolean; |
| Protected | function iscursoropen: boolean; override; |
| Protected | function getrecordcount: longint; override; |
| Protected | procedure applyrecupdate(updatekind : tupdatekind); virtual; |
| Protected | procedure setonupdateerror(const avalue: updateerroreventty); |
| Protected | function findrecord(arecordpo: pintrecordty): integer; reintroduce; |
| Protected | procedure dofilterrecord(var acceptable: boolean); virtual; |
| Protected | procedure dobeforeapplyupdate; virtual; |
| Protected | procedure doafterapplyupdate; virtual; |
| Protected | procedure dointernalcalcfields(const fetching: boolean); |
| Protected | function islocal: boolean; virtual; |
| Protected | function updatesortfield(const afield: tfield; const adescend: boolean): boolean; |
| Protected | function getobjectlinker: tobjectlinker; |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); virtual; |
| Protected | procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false); |
| Protected | procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); virtual; |
| Protected | procedure objevent(const sender: iobjectlink; const event: objecteventty); virtual; |
| Protected | function getinstance: tobject; |
| Protected | function getcomponent: tcomponent; |
| Protected | procedure begindisplaydata; |
| Protected | procedure enddisplaydata; |
| Protected | function getsavepointoptions(): savepointoptionsty; |
| Protected | function getindex(const afield: tfield): integer; |
| Protected | function gettextindex(const afield: tfield; const acaseinsensitive: boolean): integer; |
| Protected | function lookuptext(const indexnum: integer; const akey: integer; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
| Protected | function lookuptext(const indexnum: integer; const akey: int64; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
| Protected | function lookuptext(const indexnum: integer; const akey: msestring; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
| Protected | function findtext(const indexnum: integer; const searchtext: msestring; out arecord: integer): boolean; |
| Protected | function getrowtext(const indexnum: integer; const arecord: integer; const afield: tfield): msestring; |
| Protected | function getrowinteger(const indexnum: integer; const arecord: integer; const afield: tfield): integer; |
| Protected | function getrowlargeint(const indexnum: integer; const arecord: integer; const afield: tfield): int64; |
| Protected | function fetch: boolean; virtual; abstract; |
| Protected | function getblobdatasize: integer; virtual; abstract; |
| Protected | function blobscached: boolean; virtual; abstract; |
| Protected | function loadfield(const afieldno: integer; const afieldtype: tfieldtype; const buffer: pointer; var bufsize: integer): boolean; virtual; abstract; |
| Protected | function islastrecord: boolean; |
| Protected | procedure checkfreebuffer(const afield: tfield); |
| Protected | function callvalidate(const afield: tfield; const avalue: pointer): boolean; |
| Protected | procedure checkvaluebuffer(const afield: tfield; const asize: integer); |
| Protected | function refreshrecordvarar(const sourcedatasets: array of tdataset; const akeyvalue: array of variant; const keyindex: integer; const acancelupdate: boolean; const restorerecno: boolean; const noinsert: boolean): bookmarkdataty; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | destructor destroy; override; |
| Public | procedure enablecontrols; override; |
| Public | procedure beginlookupupdate(); |
| Public | procedure endlookupupdate(); |
| Public | procedure updaterecord(); override; |
| Public | procedure post; override; |
| Public | procedure gotobookmark(const abookmark: bookmarkdataty); overload; |
| Public | function findbookmark(const abookmark: bookmarkdataty): boolean; |
| Public | function recnobookmark(const arecnozerobased: int32): bookmarkdataty; |
| Public | function createblobstream(field: tfield; mode: tblobstreammode): tstream; override; |
| Public | function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override; |
| Public | function getfielddata(field: tfield; buffer: pointer): boolean; override; |
| Public | procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override; |
| Public | procedure setfielddata(field: tfield; buffer: pointer); override; |
| Public | procedure Append; |
| Public | procedure notifycontrols; |
| Public | procedure recover; |
| Public | procedure startlogging; |
| Public | procedure stoplogging; |
| Public | procedure savetostream(const astream: tstream); |
| Public | procedure loadfromstream(const astream: tstream); |
| Public | procedure savetofile(afilename: filenamety = ''; const acryptohandler: tcustomcryptohandler = nil); |
| Public | procedure loadfromfile(afilename: filenamety = ''; const acryptohandler: tcustomcryptohandler = nil); |
| Public | function streamloading: boolean; |
| Public | function refreshrecord(const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | function refreshrecord(const sourcedatasets: array of tdataset; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | function refreshrecord(const asourcefields: array of tfield; const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | function refreshrecord(const asourcefields: array of tfield; const adestfields: array of tfield; const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | function refreshrecord(const asourcefields: array of tfield; const adestfields: array of tfield; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | function refreshrecord(const asourcevalues: array of variant; const adestfields: array of tfield; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
| Public | procedure copyfieldvalues(const bm: bookmarkdataty; const dest: tdataset); overload; |
| Public | procedure copyfieldvalues(const bm: bookmarkdataty; const dest: tmsebufdataset; const acancelupdate: boolean); overload; |
| Public | function isutf8: boolean; virtual; |
| Public | procedure bindfields(const bind: boolean); |
| Public | function findfields(const anames: string): fieldarty; overload; |
| Public | function findfields(const anames: string; out afields: fieldarty): boolean; overload; |
| Public | procedure fieldtoparam(const source: tfield; const dest: tparam); |
| Public | procedure oldfieldtoparam(const source: tfield; const dest: tparam); |
| Public | procedure stringtoparam(const source: msestring; const dest: tparam); |
| Public | function recordisnull(): boolean; |
| Public | procedure clearrecord(); |
| Public | procedure clearfilter(); |
| Public | procedure beginfilteredit(const akind: filtereditkindty); |
| Public | procedure endfilteredit; |
| Public | function beginfiltervalue(const akind: filtereditkindty): tdatasetstate; |
| Public | procedure endfiltervalue(const astatebefore: tdatasetstate); |
| Public | procedure filterchanged(); |
| Public | function fieldfiltervalue(const afield: tfield; const akind: filtereditkindty = fek_filter): variant; |
| Public | function fieldfiltervalueisnull(const afield: tfield; const akind: filtereditkindty = fek_filter): boolean; |
| Public | function checkfiltervalue(const afield: tfield; const akind: filtereditkindty = fek_filter; const acaseinsensitive: boolean = true): boolean; |
| Public | function checkfiltervalues(const afield: tfield; const acaseinsensitive: boolean = true): boolean; |
| Public | function checkfiltervalues(const acaseinsensitive: boolean = true): boolean; |
| Public | function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; reintroduce; |
| Public | function locaterecno(const arecno: integer): boolean; |
| Public | function countvisiblerecords: integer; |
| Public | procedure fetchall; |
| Public | procedure resetindex; |
| Public | function createblobbuffer(const afield: tfield): tblobbuffer; |
| Public | procedure applyupdates(const maxerrors: integer = 0); overload; virtual; |
| Public | procedure applyupdates(const maxerrors: integer; const cancelonerror: boolean; const cancelondeleteerror: boolean = false; const editonerror: boolean = false); overload; virtual; |
| Public | procedure applyupdate(const cancelonerror: boolean; const cancelondeleteerror: boolean = false; const editonerror: boolean = false); overload; virtual; |
| Public | procedure applyupdate; overload; virtual; |
| Public | function recapplying: boolean; |
| Public | procedure dropupdates(); |
| Public | procedure cancelupdates; virtual; |
| Public | procedure cancelupdate(const norecordcancel: boolean = false); virtual; |
| Public | function updatestatus: tupdatestatus; overload; override; |
| Public | function updatestatus(out aflags: recupdateflagsty): tupdatestatus; overload; |
| Public | procedure currentbeginupdate; virtual; |
| Public | procedure currentendupdate; virtual; |
| Public | function currentrecordhigh: integer; |
| Public | procedure currentclear(const afield: tfield; aindex: integer); |
| Public | procedure currentassign(const source: tfield; const dest: tfield; aindex: integer); |
| Public | procedure currentbmclear(const afield: tfield; const abm: bookmarkdataty); |
| Public | procedure currentbmassign(const source: tfield; const dest: tfield; const abm: bookmarkdataty); |
| Public | procedure getcoldata(const afield: tfield; const adatalist: tdatalist); |
| Public | procedure asarray(const afield: tfield; out avalue: int64arty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: integerarty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: stringarty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: msestringarty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: currencyarty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: realarty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: datetimearty); overload; |
| Public | procedure asarray(const afield: tfield; out avalue: booleanarty); overload; |
| Public | function getdata(const afields: array of tfield): variantararty; |
| Public | procedure sumfield(const afield: tfield; out asum: double); overload; |
| Public | procedure sumfield(const afield: tfield; out asum: currency); overload; |
| Public | procedure sumfield(const afield: tfield; out asum: integer); overload; |
| Public | procedure sumfield(const afield: tfield; out asum: int64); overload; |
| Public | function sumfielddouble(const afield: tfield): double; |
| Public | function sumfieldcurrency(const afield: tfield): currency; |
| Public | function sumfieldinteger(const afield: tfield): integer; |
| Public | function sumfieldint64(const afield: tfield): int64; |
Properties
| Protected | property actindex: integer read factindex write setactindex; |
| Protected | property nullmasksize: integer read fnullmasksize; |
| Public | property bookmarkdata: bookmarkdataty read getbookmarkdata1
write setbookmarkdata1; |
| Public | property logging: boolean read getlogging; |
| Public | property filtereditkind: filtereditkindty read ffiltereditkind
write ffiltereditkind; |
| Public | property changecount: integer read getchangecount; |
| Public | property changerecords: recupdateinfoarty read getchangerecords; |
| Public | property applyerrorcount: integer read getapplyerrorcount; |
| Public | property applyerrorrecords: recupdateinfoarty read getapplyerrorrecords; |
| Public | property appliedcount: card32 read fappliedcount; |
| Public | property recnozerobased: int32 read getrecnozerobased
write setrecnozerobased; |
| Public | property currentisnull[const afield: tfield; aindex: integer]: boolean read
getcurrentisnull; |
| Public | property currentasvariant[const afield: tfield; aindex: integer]: variant
read getcurrentasvariant write setcurrentasvariant; |
| Public | property currentasboolean[const afield: tfield; aindex: integer]: boolean
read getcurrentasboolean write setcurrentasboolean; |
| Public | property currentasinteger[const afield: tfield; aindex: integer]: integer
read getcurrentasinteger write setcurrentasinteger; |
| Public | property currentaslargeint[const afield: tfield; aindex: integer]: int64
read getcurrentaslargeint write setcurrentaslargeint; |
| Public | property currentasid[const afield: tfield; aindex: integer]: int64
read getcurrentasid write setcurrentasid; |
| Public | property currentasfloat[const afield: tfield; aindex: integer]: double
read getcurrentasfloat write setcurrentasfloat; |
| Public | property currentasdatetime[const afield: tfield; aindex: integer]: tdatetime
read getcurrentasdatetime write setcurrentasdatetime; |
| Public | property currentascurrency[const afield: tfield; aindex: integer]: currency
read getcurrentascurrency write setcurrentascurrency; |
| Public | property currentasmsestring[const afield: tfield; aindex: integer]: msestring
read getcurrentasmsestring write setcurrentasmsestring; |
| Public | property currentasguid[const afield: tfield; aindex: integer]: tguid
read getcurrentasguid write setcurrentasguid; |
| Public | property currentbmisnull[const afield: tfield; const abm: bookmarkdataty]: boolean read getcurrentbmisnull; |
| Public | property currentbmasvariant[const afield: tfield; const abm: bookmarkdataty]: variant
read getcurrentbmasvariant write setcurrentbmasvariant; |
| Public | property currentbmasboolean[const afield: tfield; const abm: bookmarkdataty]: boolean
read getcurrentbmasboolean write setcurrentbmasboolean; |
| Public | property currentbmasinteger[const afield: tfield; const abm: bookmarkdataty]: integer
read getcurrentbmasinteger write setcurrentbmasinteger; |
| Public | property currentbmaslargeint[const afield: tfield; const abm: bookmarkdataty]: int64
read getcurrentbmaslargeint write setcurrentbmaslargeint; |
| Public | property currentbmasid[const afield: tfield; const abm: bookmarkdataty]: int64
read getcurrentbmasid write setcurrentbmasid; |
| Public | property currentbmasfloat[const afield: tfield; const abm: bookmarkdataty]: double
read getcurrentbmasfloat write setcurrentbmasfloat; |
| Public | property currentbmasdatetime[const afield: tfield; const abm: bookmarkdataty]: tdatetime
read getcurrentbmasdatetime write setcurrentbmasdatetime; |
| Public | property currentbmascurrency[const afield: tfield; const abm: bookmarkdataty]: currency
read getcurrentbmascurrency write setcurrentbmascurrency; |
| Public | property currentbmasmsestring[const afield: tfield; const abm: bookmarkdataty]: msestring
read getcurrentbmasmsestring write setcurrentbmasmsestring; |
| Public | property currentbmasguid[const afield: tfield; const abm: bookmarkdataty]: tguid
read getcurrentbmasguid write setcurrentbmasguid; |
| Public | property delayedapplycount: integer read fdelayedapplycount
write setdelayedapplycount default 0; |
| Published | property options: bufdatasetoptionsty read foptions
write setoptions default []; |
| Published | property logfilename: filenamety read flogfilename write flogfilename; |
| Published | property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
| Published | property packetrecords : integer read fpacketrecords write setpacketrecords
default defaultpacketrecords; |
| Published | property indexlocal: tlocalindexes read findexlocal write setindexlocal; |
| Published | property onupdateerror: updateerroreventty read fonupdateerror
write setonupdateerror; |
| Published | property oninternalcalcfields: internalcalcfieldseventty
read foninternalcalcfields write setoninternalcalcfields; |
| Published | property beforeapplyupdate: tdatasetnotifyevent read fbeforeapplyupdate
write fbeforeapplyupdate; |
| Published | property afterapplyupdate: tdatasetnotifyevent read fafterapplyupdate
write fafterapplyupdate; |
| Published | property beforebeginfilteredit: filterediteventty
read fbeforebeginfilteredit write fbeforebeginfilteredit; |
| Published | property afterbeginfilteredit: filterediteventty
read fafterbeginfilteredit write fafterbeginfilteredit; |
| Published | property beforeendfilteredit: filterediteventty
read fbeforeendfilteredit write fbeforeendfilteredit; |
| Published | property afterendfilteredit: filterediteventty
read fafterendfilteredit write fafterendfilteredit; |
| Published | property beforefilterchanged: bufdataseteventty
read fbeforefilterchanged write fbeforefilterchanged; |
| Published | property afterfilterchanged: bufdataseteventty
read fafterfilterchanged write fafterfilterchanged; |
| Published | property Active default false; |
Description
Fields
| Protected | foldopts: bufdatasetoptionsty; |
|
This item has no description. | |
| Protected | fcontroller: tdscontroller; |
|
This item has no description. | |
| Protected | foptions: bufdatasetoptionsty; |
|
This item has no description. | |
| Protected | fbrecordcount: integer; |
|
This item has no description. | |
| Protected | ffieldinfos: fieldinfoarty; |
|
This item has no description. | |
| Protected | ffieldorder: integerarty; |
|
This item has no description. | |
| Protected | factindexpo: pindexty; |
|
This item has no description. | |
| Protected | fbstate: bufdatasetstatesty; |
|
This item has no description. | |
| Protected | fbstate1: bufdatasetstates1ty; |
|
This item has no description. | |
| Protected | fallpacketsfetched: boolean; |
|
This item has no description. | |
| Protected | fapplyindex: integer; |
|
This item has no description. | |
| Protected | ffailedcount: integer; |
|
This item has no description. | |
| Protected | frecno: integer; |
|
This item has no description. | |
| Protected | findexes: array of indexty; |
|
This item has no description. | |
| Protected | fblobcache: blobcacheinfoarty; |
|
This item has no description. | |
| Protected | fblobcount: integer; |
|
This item has no description. | |
| Protected | ffreedblobs: integerarty; |
|
This item has no description. | |
| Protected | ffreedblobcount: integer; |
|
This item has no description. | |
| Protected | fcurrentbuf: pintrecordty; |
|
This item has no description. | |
| Protected | fcurrentupdating: integer; |
|
This item has no description. | |
| Protected | flastcurrentindex: integer; |
|
This item has no description. | |
| Protected | fsavepointlevel: integer; |
|
This item has no description. | |
| Protected | fappliedcount: card32; |
|
This item has no description. | |
Methods
| Protected | procedure doidleapplyupdates() virtual; |
|
This item has no description. | |
| Protected | procedure setoptions(const avalue: bufdatasetoptionsty) virtual; |
|
This item has no description. | |
| Protected | function getdefaultoptions: bufdatasetoptionsty virtual; |
|
This item has no description. | |
| Protected | procedure openlocal; |
|
This item has no description. | |
| Protected | procedure fixupcurrentset; virtual; |
|
This item has no description. | |
| Protected | procedure currentcheckbrowsemode; |
|
This item has no description. | |
| Protected | function getrestorerecno: boolean; |
|
This item has no description. | |
| Protected | procedure setrestorerecno(const avalue: boolean); |
|
This item has no description. | |
| Protected | procedure dogetcoldata(const afield: tfield; const afieldtype: tfieldtype; const step: integer; const data: pointer); |
|
This item has no description. | |
| Protected | function getcurrentlookuppo(const afield: tfield; const afieldtype: tfieldtype; const arecord: pintrecordty): pointer; |
|
This item has no description. | |
| Protected | function getcurrentpo(const afield: tfield; const afieldtype: tfieldtype; const arecord: pintrecordty): pointer; |
|
This item has no description. | |
| Protected | function beforecurrentget(const afield: tfield; const afieldtype: tfieldtype; var aindex: integer): pointer; |
|
This item has no description. | |
| Protected | function beforecurrentbmget(const afield: tfield; const afieldtype: tfieldtype; const abm: bookmarkdataty): pointer; |
|
This item has no description. | |
| Protected | function setcurrentpo(const afield: tfield; const afieldtype: tfieldtype; const arecord: precheaderty; const aisnull: boolean; out changed: boolean): pointer; |
|
This item has no description. | |
| Protected | function beforecurrentset(const afield: tfield; const afieldtype: tfieldtype; var aindex: integer; const aisnull: boolean; out changed: boolean): pointer; |
|
This item has no description. | |
| Protected | procedure aftercurrentset(const afield: tfield); virtual; |
|
This item has no description. | |
| Protected | function beforecurrentbmset(const afield: tfield; const afieldtype: tfieldtype; const abm: bookmarkdataty; const aisnull: boolean; out changed: boolean): pointer; |
|
This item has no description. | |
| Protected | procedure getbminteger(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmlargeint(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmcurrency(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmfloat(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmstring(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmboolean(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmdatetime(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmvariant(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | procedure getbmguid(const afield: tfield; const bm: bookmarkdataty; var adata: lookupdataty); |
|
This item has no description. | |
| Protected | function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload; |
|
This item has no description. | |
| Protected | function getfieldbuffer(const afield: tfield; const aisnull: boolean; out datasize: integer): pointer; overload; virtual; |
|
This item has no description. | |
| Protected | procedure fieldchanged(const field: tfield); |
|
This item has no description. | |
| Protected | function getfiltereditkind: filtereditkindty; |
|
This item has no description. | |
| Protected | function blobsarefetched: boolean; |
|
This item has no description. | |
| Protected | function getblobcache: blobcacheinfoarty; |
|
This item has no description. | |
| Protected | function findcachedblob(var info: blobcacheinfoty): boolean; overload; |
|
This item has no description. | |
| Protected | function findcachedblob(const id: int64; out info: blobcacheinfoty): boolean; overload; |
|
This item has no description. | |
| Protected | function addblobcache(const adata: pointer; const alength: integer): integer; overload; |
|
This item has no description. | |
| Protected | function addblobcache(const aid: int64; const adata: string): integer; overload; |
|
This item has no description. | |
| Protected | procedure updatestate; |
|
This item has no description. | |
| Protected | function getintblobpo: pblobinfoarty; |
|
This item has no description. | |
| Protected | procedure internalcancel; override; |
|
This item has no description. | |
| Protected | procedure FreeFieldBuffers; override; |
|
This item has no description. | |
| Protected | procedure cancelrecupdate(var arec: recupdatebufferty); |
|
This item has no description. | |
| Protected | procedure setdatastringvalue(const afield: tfield; const avalue: string); |
|
This item has no description. | |
| Protected | procedure resetblobcache; |
|
This item has no description. | |
| Protected | procedure sortblobcache; |
|
This item has no description. | |
| Protected | procedure fetchblobs; |
|
This item has no description. | |
| Protected | procedure fetchallblobs; |
|
This item has no description. | |
| Protected | procedure getofflineblob(const data: precheaderty; const aindex: integer; out ainfo: blobstreaminfoty); |
|
This item has no description. | |
| Protected | procedure setofflineblob(const adata: precheaderty; const aindex: integer; const ainfo: blobstreaminfoty); |
|
This item has no description. | |
| Protected | function getblobrecpo: precheaderty; |
|
This item has no description. | |
| Protected | procedure savepointevent(const sender: tmdbtransaction; const akind: savepointeventkindty; const alevel: integer); override; |
|
This item has no description. | |
| Protected | procedure packrecupdatebuffer; |
|
This item has no description. | |
| Protected | procedure restorerecupdatebuffer; |
|
This item has no description. | |
| Protected | procedure postrecupdatebuffer; |
|
This item has no description. | |
| Protected | procedure recupdatebufferapplied(const abuf: precupdatebufferty); |
|
This item has no description. | |
| Protected | procedure recupdatebufferdropped(const abuf: precupdatebufferty); |
|
This item has no description. | |
| Protected | procedure editapplyerror(const arecupdatenum: integer); |
|
This item has no description. | |
| Protected | procedure internalapplyupdate(const maxerrors: integer; const cancelonerror: boolean; const cancelondeleteerror: boolean; out response: resolverresponsesty); |
|
This item has no description. | |
| Protected | procedure afterapply; virtual; |
|
This item has no description. | |
| Protected | procedure freeblob(const ablob: blobinfoty); |
|
This item has no description. | |
| Protected | procedure freeblobs(var ablobs: blobinfoarty); |
|
This item has no description. | |
| Protected | procedure deleteblob(var ablobs: blobinfoarty; const aindex: integer; const afreeblob: boolean); overload; |
|
This item has no description. | |
| Protected | procedure deleteblob(var ablobs: blobinfoarty; const afield: tfield; const adeleteitem: boolean); overload; |
|
This item has no description. | |
| Protected | procedure addblob(const ablob: tblobbuffer); |
|
This item has no description. | |
| Protected | procedure setrecno1(value: longint; const nocheck: boolean); |
|
This item has no description. | |
| Protected | procedure setrecno(value: longint); override; |
|
This item has no description. | |
| Protected | function getrecno: longint; override; |
|
This item has no description. | |
| Protected | function getchangecount: integer; virtual; |
|
This item has no description. | |
| Protected | function getapplyerrorcount: integer; virtual; |
|
This item has no description. | |
| Protected | function allocrecordbuffer: pchar; override; |
|
This item has no description. | |
| Protected | procedure internalinitrecord(buffer: pchar); override; |
|
This item has no description. | |
| Protected | procedure clearcalcfields(buffer: pchar); override; |
|
This item has no description. | |
| Protected | procedure freerecordbuffer(var buffer: pchar); override; |
|
This item has no description. | |
| Protected | function getcanmodify: boolean; override; |
|
This item has no description. | |
| Protected | function getrecord(buffer: pchar; getmode: tgetmode; docheck: boolean): tgetresult; override; |
|
This item has no description. | |
| Protected | function GetNextRecord: Boolean; override; |
|
This item has no description. | |
| Protected | function GetNextRecords: Longint; override; |
|
This item has no description. | |
| Protected | function bookmarkdatatobookmark(const abookmark: bookmarkdataty): bookmarkty; |
|
This item has no description. | |
| Protected | function bookmarktobookmarkdata(const abookmark: bookmarkty): bookmarkdataty; |
|
This item has no description. | |
| Protected | function findbookmarkindex(const abookmark: bookmarkdataty): integer; |
|
This item has no description. | |
| Protected | procedure checkrecno(const avalue: integer); |
|
This item has no description. | |
| Protected | procedure setonfilterrecord(const value: tfilterrecordevent); override; |
|
This item has no description. | |
| Protected | procedure setfiltered(value: boolean); override; |
|
This item has no description. | |
| Protected | procedure filterchanged1(const aloaded: boolean); |
|
This item has no description. | |
| Protected | procedure setactive(value: boolean); override; |
|
This item has no description. | |
| Protected | procedure CalculateFields(Buffer: PChar); override; |
|
This item has no description. | |
| Protected | procedure notification(acomponent: tcomponent; operation: toperation) override; |
|
This item has no description. | |
| Protected | procedure loadedoverride; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler) override; |
|
This item has no description. | |
| Protected | procedure readstate(reader: treader) override; |
|
This item has no description. | |
| Protected | procedure OpenCursor(InfoQuery: Boolean); override; |
|
This item has no description. | |
| Protected | procedure internalopen; override; |
|
This item has no description. | |
| Protected | procedure internalclose; override; |
|
This item has no description. | |
| Protected | procedure clearbuffers; override; |
|
This item has no description. | |
| Protected | procedure internalinsert; override; |
|
This item has no description. | |
| Protected | procedure internaledit; override; |
|
This item has no description. | |
| Protected | procedure dataevent(event: tdataevent; info: ptrint); override; |
|
This item has no description. | |
| Protected | procedure checkconnected; |
|
This item has no description. | |
| Protected | procedure startlogger; |
|
This item has no description. | |
| Protected | procedure closelogger; |
|
This item has no description. | |
| Protected | procedure savestate(const awriter: tbufstreamwriter); |
|
This item has no description. | |
| Protected | function getfieldclass(fieldtype: tfieldtype): tfieldclass; override; |
|
This item has no description. | |
| Protected | function getnextpacket(const all: boolean) : integer; |
|
This item has no description. | |
| Protected | function getrecordsize: word; override; |
|
This item has no description. | |
| Protected | procedure saveindex(const oldbuffer,newbuffer: pintrecordty; var ar1,ar2,ar3: integerarty); |
|
This item has no description. | |
| Protected | procedure relocateindex(const abuffer: pintrecordty; const ar1,ar2,ar3: integerarty); |
|
This item has no description. | |
| Protected | procedure internalpost; override; |
|
This item has no description. | |
| Protected | procedure internaldelete; override; |
|
This item has no description. | |
| Protected | procedure internalfirst; override; |
|
This item has no description. | |
| Protected | procedure internallast; override; |
|
This item has no description. | |
| Protected | procedure internalsettorecord(buffer: pchar); override; |
|
This item has no description. | |
| Protected | procedure internalgotobookmark(abookmark: pointer); override; |
|
This item has no description. | |
| Protected | procedure setbookmarkdata(buffer: pchar; data: pointer); override; |
|
This item has no description. | |
| Protected | procedure setbookmarkflag(buffer: pchar; value: tbookmarkflag); override; |
|
This item has no description. | |
| Protected | procedure getbookmarkdata(buffer: pchar; data: pointer); override; |
|
This item has no description. | |
| Protected | function getbookmarkdata1: bookmarkdataty; |
|
This item has no description. | |
| Protected | function getbookmarkflag(buffer: pchar): tbookmarkflag; override; |
|
This item has no description. | |
| Protected | function getfieldblobid(const field: tfield; out aid: blobidty): boolean; |
|
This item has no description. | |
| Protected | function iscursoropen: boolean; override; |
|
This item has no description. | |
| Protected | function getrecordcount: longint; override; |
|
This item has no description. | |
| Protected | procedure applyrecupdate(updatekind : tupdatekind); virtual; |
|
This item has no description. | |
| Protected | procedure setonupdateerror(const avalue: updateerroreventty); |
|
This item has no description. | |
| Protected | function findrecord(arecordpo: pintrecordty): integer; reintroduce; |
|
This item has no description. | |
| Protected | procedure dofilterrecord(var acceptable: boolean); virtual; |
|
This item has no description. | |
| Protected | procedure dobeforeapplyupdate; virtual; |
|
This item has no description. | |
| Protected | procedure doafterapplyupdate; virtual; |
|
This item has no description. | |
| Protected | procedure dointernalcalcfields(const fetching: boolean); |
|
This item has no description. | |
| Protected | function islocal: boolean; virtual; |
|
This item has no description. | |
| Protected | function updatesortfield(const afield: tfield; const adescend: boolean): boolean; |
|
This item has no description. | |
| Protected | function getobjectlinker: tobjectlinker; |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); virtual; |
|
This item has no description. | |
| Protected | procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false); |
|
This item has no description. | |
| Protected | procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil); virtual; |
|
This item has no description. | |
| Protected | procedure objevent(const sender: iobjectlink; const event: objecteventty); virtual; |
|
This item has no description. | |
| Protected | function getinstance: tobject; |
|
This item has no description. | |
| Protected | function getcomponent: tcomponent; |
|
This item has no description. | |
| Protected | procedure begindisplaydata; |
|
This item has no description. | |
| Protected | procedure enddisplaydata; |
|
This item has no description. | |
| Protected | function getsavepointoptions(): savepointoptionsty; |
|
This item has no description. | |
| Protected | function getindex(const afield: tfield): integer; |
|
This item has no description. | |
| Protected | function gettextindex(const afield: tfield; const acaseinsensitive: boolean): integer; |
|
This item has no description. | |
| Protected | function lookuptext(const indexnum: integer; const akey: integer; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
|
This item has no description. | |
| Protected | function lookuptext(const indexnum: integer; const akey: int64; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
|
This item has no description. | |
| Protected | function lookuptext(const indexnum: integer; const akey: msestring; const aisnull: boolean; const valuefield: tmsestringfield): msestring; overload; |
|
This item has no description. | |
| Protected | function findtext(const indexnum: integer; const searchtext: msestring; out arecord: integer): boolean; |
|
This item has no description. | |
| Protected | function getrowtext(const indexnum: integer; const arecord: integer; const afield: tfield): msestring; |
|
This item has no description. | |
| Protected | function getrowinteger(const indexnum: integer; const arecord: integer; const afield: tfield): integer; |
|
This item has no description. | |
| Protected | function getrowlargeint(const indexnum: integer; const arecord: integer; const afield: tfield): int64; |
|
This item has no description. | |
| Protected | function fetch: boolean; virtual; abstract; |
|
This item has no description. | |
| Protected | function getblobdatasize: integer; virtual; abstract; |
|
This item has no description. | |
| Protected | function blobscached: boolean; virtual; abstract; |
|
This item has no description. | |
| Protected | function loadfield(const afieldno: integer; const afieldtype: tfieldtype; const buffer: pointer; var bufsize: integer): boolean; virtual; abstract; |
|
This item has no description. | |
| Protected | function islastrecord: boolean; |
|
This item has no description. | |
| Protected | procedure checkfreebuffer(const afield: tfield); |
|
This item has no description. | |
| Protected | function callvalidate(const afield: tfield; const avalue: pointer): boolean; |
|
This item has no description. | |
| Protected | procedure checkvaluebuffer(const afield: tfield; const asize: integer); |
|
This item has no description. | |
| Protected | function refreshrecordvarar(const sourcedatasets: array of tdataset; const akeyvalue: array of variant; const keyindex: integer; const acancelupdate: boolean; const restorerecno: boolean; const noinsert: boolean): bookmarkdataty; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure enablecontrols; override; |
|
This item has no description. | |
| Public | procedure beginlookupupdate(); |
|
This item has no description. | |
| Public | procedure endlookupupdate(); |
|
This item has no description. | |
| Public | procedure updaterecord(); override; |
|
This item has no description. | |
| Public | procedure post; override; |
|
This item has no description. | |
| Public | procedure gotobookmark(const abookmark: bookmarkdataty); overload; |
|
This item has no description. | |
| Public | function findbookmark(const abookmark: bookmarkdataty): boolean; |
|
This item has no description. | |
| Public | function recnobookmark(const arecnozerobased: int32): bookmarkdataty; |
|
This item has no description. | |
| Public | function createblobstream(field: tfield; mode: tblobstreammode): tstream; override; |
|
This item has no description. | |
| Public | function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override; |
|
This item has no description. | |
| Public | function getfielddata(field: tfield; buffer: pointer): boolean; override; |
|
This item has no description. | |
| Public | procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override; |
|
This item has no description. | |
| Public | procedure setfielddata(field: tfield; buffer: pointer); override; |
|
This item has no description. | |
| Public | procedure Append; |
|
This item has no description. | |
| Public | procedure notifycontrols; |
|
This item has no description. | |
| Public | procedure recover; |
|
This item has no description. | |
| Public | procedure startlogging; |
|
This item has no description. | |
| Public | procedure stoplogging; |
|
This item has no description. | |
| Public | procedure savetostream(const astream: tstream); |
|
This item has no description. | |
| Public | procedure loadfromstream(const astream: tstream); |
|
This item has no description. | |
| Public | procedure savetofile(afilename: filenamety = ''; const acryptohandler: tcustomcryptohandler = nil); |
|
This item has no description. | |
| Public | procedure loadfromfile(afilename: filenamety = ''; const acryptohandler: tcustomcryptohandler = nil); |
|
This item has no description. | |
| Public | function streamloading: boolean; |
|
This item has no description. | |
| Public | function refreshrecord(const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | function refreshrecord(const sourcedatasets: array of tdataset; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | function refreshrecord(const asourcefields: array of tfield; const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | function refreshrecord(const asourcefields: array of tfield; const adestfields: array of tfield; const akeyfield: array of tfield; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | function refreshrecord(const asourcefields: array of tfield; const adestfields: array of tfield; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | function refreshrecord(const asourcevalues: array of variant; const adestfields: array of tfield; const akeyvalue: array of variant; const keyindex: integer = 0; const acancelupdate: boolean = true; const restorerecno: boolean = true; const noinsert: boolean = false): bookmarkdataty; overload; |
|
This item has no description. | |
| Public | procedure copyfieldvalues(const bm: bookmarkdataty; const dest: tdataset); overload; |
|
This item has no description. | |
| Public | procedure copyfieldvalues(const bm: bookmarkdataty; const dest: tmsebufdataset; const acancelupdate: boolean); overload; |
|
This item has no description. | |
| Public | function isutf8: boolean; virtual; |
|
This item has no description. | |
| Public | procedure bindfields(const bind: boolean); |
|
This item has no description. | |
| Public | function findfields(const anames: string): fieldarty; overload; |
|
This item has no description. | |
| Public | function findfields(const anames: string; out afields: fieldarty): boolean; overload; |
|
This item has no description. | |
| Public | procedure fieldtoparam(const source: tfield; const dest: tparam); |
|
This item has no description. | |
| Public | procedure oldfieldtoparam(const source: tfield; const dest: tparam); |
|
This item has no description. | |
| Public | procedure stringtoparam(const source: msestring; const dest: tparam); |
|
This item has no description. | |
| Public | function recordisnull(): boolean; |
|
This item has no description. | |
| Public | procedure clearrecord(); |
|
This item has no description. | |
| Public | procedure clearfilter(); |
|
This item has no description. | |
| Public | procedure beginfilteredit(const akind: filtereditkindty); |
|
Between | |
| Public | procedure endfilteredit; |
|
This item has no description. | |
| Public | function beginfiltervalue(const akind: filtereditkindty): tdatasetstate; |
|
This item has no description. | |
| Public | procedure endfiltervalue(const astatebefore: tdatasetstate); |
|
This item has no description. | |
| Public | procedure filterchanged(); |
|
This item has no description. | |
| Public | function fieldfiltervalue(const afield: tfield; const akind: filtereditkindty = fek_filter): variant; |
|
This item has no description. | |
| Public | function fieldfiltervalueisnull(const afield: tfield; const akind: filtereditkindty = fek_filter): boolean; |
|
This item has no description. | |
| Public | function checkfiltervalue(const afield: tfield; const akind: filtereditkindty = fek_filter; const acaseinsensitive: boolean = true): boolean; |
|
This item has no description. | |
| Public | function checkfiltervalues(const afield: tfield; const acaseinsensitive: boolean = true): boolean; |
|
This item has no description. | |
| Public | function checkfiltervalues(const acaseinsensitive: boolean = true): boolean; |
|
This item has no description. | |
| Public | function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; reintroduce; |
|
This item has no description. | |
| Public | function locaterecno(const arecno: integer): boolean; |
|
This item has no description. | |
| Public | function countvisiblerecords: integer; |
|
This item has no description. | |
| Public | procedure fetchall; |
|
This item has no description. | |
| Public | procedure resetindex; |
|
This item has no description. | |
| Public | function createblobbuffer(const afield: tfield): tblobbuffer; |
|
This item has no description. | |
| Public | procedure applyupdates(const maxerrors: integer = 0); overload; virtual; |
|
This item has no description. | |
| Public | procedure applyupdates(const maxerrors: integer; const cancelonerror: boolean; const cancelondeleteerror: boolean = false; const editonerror: boolean = false); overload; virtual; |
|
This item has no description. | |
| Public | procedure applyupdate(const cancelonerror: boolean; const cancelondeleteerror: boolean = false; const editonerror: boolean = false); overload; virtual; |
|
This item has no description. | |
| Public | procedure applyupdate; overload; virtual; |
|
This item has no description. | |
| Public | function recapplying: boolean; |
|
This item has no description. | |
| Public | procedure dropupdates(); |
|
This item has no description. | |
| Public | procedure cancelupdates; virtual; |
|
This item has no description. | |
| Public | procedure cancelupdate(const norecordcancel: boolean = false); virtual; |
|
This item has no description. | |
| Public | function updatestatus: tupdatestatus; overload; override; |
|
This item has no description. | |
| Public | function updatestatus(out aflags: recupdateflagsty): tupdatestatus; overload; |
|
This item has no description. | |
| Public | procedure currentbeginupdate; virtual; |
|
This item has no description. | |
| Public | procedure currentendupdate; virtual; |
|
This item has no description. | |
| Public | function currentrecordhigh: integer; |
|
This item has no description. | |
| Public | procedure currentclear(const afield: tfield; aindex: integer); |
|
This item has no description. | |
| Public | procedure currentassign(const source: tfield; const dest: tfield; aindex: integer); |
|
This item has no description. | |
| Public | procedure currentbmclear(const afield: tfield; const abm: bookmarkdataty); |
|
This item has no description. | |
| Public | procedure currentbmassign(const source: tfield; const dest: tfield; const abm: bookmarkdataty); |
|
This item has no description. | |
| Public | procedure getcoldata(const afield: tfield; const adatalist: tdatalist); |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: int64arty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: integerarty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: stringarty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: msestringarty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: currencyarty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: realarty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: datetimearty); overload; |
|
This item has no description. | |
| Public | procedure asarray(const afield: tfield; out avalue: booleanarty); overload; |
|
This item has no description. | |
| Public | function getdata(const afields: array of tfield): variantararty; |
|
This item has no description. | |
| Public | procedure sumfield(const afield: tfield; out asum: double); overload; |
|
This item has no description. | |
| Public | procedure sumfield(const afield: tfield; out asum: currency); overload; |
|
This item has no description. | |
| Public | procedure sumfield(const afield: tfield; out asum: integer); overload; |
|
This item has no description. | |
| Public | procedure sumfield(const afield: tfield; out asum: int64); overload; |
|
This item has no description. | |
| Public | function sumfielddouble(const afield: tfield): double; |
|
This item has no description. | |
| Public | function sumfieldcurrency(const afield: tfield): currency; |
|
This item has no description. | |
| Public | function sumfieldinteger(const afield: tfield): integer; |
|
This item has no description. | |
| Public | function sumfieldint64(const afield: tfield): int64; |
|
This item has no description. | |
Properties
| Protected | property actindex: integer read factindex write setactindex; |
|
This item has no description. | |
| Protected | property nullmasksize: integer read fnullmasksize; |
|
This item has no description. | |
| Public | property bookmarkdata: bookmarkdataty read getbookmarkdata1
write setbookmarkdata1; |
|
This item has no description. | |
| Public | property logging: boolean read getlogging; |
|
This item has no description. | |
| Public | property filtereditkind: filtereditkindty read ffiltereditkind
write ffiltereditkind; |
|
This item has no description. | |
| Public | property changecount: integer read getchangecount; |
|
Number of posted, pending (not yet applied) record changes — it only counts changes already in the update buffer, so it stays | |
| Public | property changerecords: recupdateinfoarty read getchangerecords; |
|
This item has no description. | |
| Public | property applyerrorcount: integer read getapplyerrorcount; |
|
This item has no description. | |
| Public | property applyerrorrecords: recupdateinfoarty read getapplyerrorrecords; |
|
This item has no description. | |
| Public | property appliedcount: card32 read fappliedcount; |
|
This item has no description. | |
| Public | property recnozerobased: int32 read getrecnozerobased
write setrecnozerobased; |
|
This item has no description. | |
| Public | property currentisnull[const afield: tfield; aindex: integer]: boolean read
getcurrentisnull; |
|
This item has no description. | |
| Public | property currentasvariant[const afield: tfield; aindex: integer]: variant
read getcurrentasvariant write setcurrentasvariant; |
|
This item has no description. | |
| Public | property currentasboolean[const afield: tfield; aindex: integer]: boolean
read getcurrentasboolean write setcurrentasboolean; |
|
This item has no description. | |
| Public | property currentasinteger[const afield: tfield; aindex: integer]: integer
read getcurrentasinteger write setcurrentasinteger; |
|
This item has no description. | |
| Public | property currentaslargeint[const afield: tfield; aindex: integer]: int64
read getcurrentaslargeint write setcurrentaslargeint; |
|
This item has no description. | |
| Public | property currentasid[const afield: tfield; aindex: integer]: int64
read getcurrentasid write setcurrentasid; |
|
This item has no description. | |
| Public | property currentasfloat[const afield: tfield; aindex: integer]: double
read getcurrentasfloat write setcurrentasfloat; |
|
This item has no description. | |
| Public | property currentasdatetime[const afield: tfield; aindex: integer]: tdatetime
read getcurrentasdatetime write setcurrentasdatetime; |
|
This item has no description. | |
| Public | property currentascurrency[const afield: tfield; aindex: integer]: currency
read getcurrentascurrency write setcurrentascurrency; |
|
This item has no description. | |
| Public | property currentasmsestring[const afield: tfield; aindex: integer]: msestring
read getcurrentasmsestring write setcurrentasmsestring; |
|
This item has no description. | |
| Public | property currentasguid[const afield: tfield; aindex: integer]: tguid
read getcurrentasguid write setcurrentasguid; |
|
This item has no description. | |
| Public | property currentbmisnull[const afield: tfield; const abm: bookmarkdataty]: boolean read getcurrentbmisnull; |
|
This item has no description. | |
| Public | property currentbmasvariant[const afield: tfield; const abm: bookmarkdataty]: variant
read getcurrentbmasvariant write setcurrentbmasvariant; |
|
This item has no description. | |
| Public | property currentbmasboolean[const afield: tfield; const abm: bookmarkdataty]: boolean
read getcurrentbmasboolean write setcurrentbmasboolean; |
|
This item has no description. | |
| Public | property currentbmasinteger[const afield: tfield; const abm: bookmarkdataty]: integer
read getcurrentbmasinteger write setcurrentbmasinteger; |
|
This item has no description. | |
| Public | property currentbmaslargeint[const afield: tfield; const abm: bookmarkdataty]: int64
read getcurrentbmaslargeint write setcurrentbmaslargeint; |
|
This item has no description. | |
| Public | property currentbmasid[const afield: tfield; const abm: bookmarkdataty]: int64
read getcurrentbmasid write setcurrentbmasid; |
|
This item has no description. | |
| Public | property currentbmasfloat[const afield: tfield; const abm: bookmarkdataty]: double
read getcurrentbmasfloat write setcurrentbmasfloat; |
|
This item has no description. | |
| Public | property currentbmasdatetime[const afield: tfield; const abm: bookmarkdataty]: tdatetime
read getcurrentbmasdatetime write setcurrentbmasdatetime; |
|
This item has no description. | |
| Public | property currentbmascurrency[const afield: tfield; const abm: bookmarkdataty]: currency
read getcurrentbmascurrency write setcurrentbmascurrency; |
|
This item has no description. | |
| Public | property currentbmasmsestring[const afield: tfield; const abm: bookmarkdataty]: msestring
read getcurrentbmasmsestring write setcurrentbmasmsestring; |
|
This item has no description. | |
| Public | property currentbmasguid[const afield: tfield; const abm: bookmarkdataty]: tguid
read getcurrentbmasguid write setcurrentbmasguid; |
|
This item has no description. | |
| Public | property delayedapplycount: integer read fdelayedapplycount
write setdelayedapplycount default 0; |
|
This item has no description. | |
| Published | property options: bufdatasetoptionsty read foptions
write setoptions default []; |
|
This item has no description. | |
| Published | property logfilename: filenamety read flogfilename write flogfilename; |
|
Log file for | |
| Published | property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
|
This item has no description. | |
| Published | property packetrecords : integer read fpacketrecords write setpacketrecords
default defaultpacketrecords; |
|
Records are fetched from the database in packets of this size (a negative value fetches all records at once, the default). Right after | |
| Published | property indexlocal: tlocalindexes read findexlocal write setindexlocal; |
|
Memo and blob field values are not stored in the record buffer but fetched on demand, so they can not be used as index fields here — do any needed type conversion (e.g. to a fixed-length string) in the SQL | |
| Published | property onupdateerror: updateerroreventty read fonupdateerror
write setonupdateerror; |
|
This item has no description. | |
| Published | property oninternalcalcfields: internalcalcfieldseventty
read foninternalcalcfields write setoninternalcalcfields; |
|
Fires with | |
| Published | property beforeapplyupdate: tdatasetnotifyevent read fbeforeapplyupdate
write fbeforeapplyupdate; |
|
This item has no description. | |
| Published | property afterapplyupdate: tdatasetnotifyevent read fafterapplyupdate
write fafterapplyupdate; |
|
This item has no description. | |
| Published | property beforebeginfilteredit: filterediteventty
read fbeforebeginfilteredit write fbeforebeginfilteredit; |
|
This item has no description. | |
| Published | property afterbeginfilteredit: filterediteventty
read fafterbeginfilteredit write fafterbeginfilteredit; |
|
This item has no description. | |
| Published | property beforeendfilteredit: filterediteventty
read fbeforeendfilteredit write fbeforeendfilteredit; |
|
This item has no description. | |
| Published | property afterendfilteredit: filterediteventty
read fafterendfilteredit write fafterendfilteredit; |
|
This item has no description. | |
| Published | property beforefilterchanged: bufdataseteventty
read fbeforefilterchanged write fbeforefilterchanged; |
|
This item has no description. | |
| Published | property afterfilterchanged: bufdataseteventty
read fafterfilterchanged write fafterfilterchanged; |
|
This item has no description. | |
| Published | property Active default false; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.