| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > FileManager > FileManager Methods >====== FileManager Methods {{c6h0009.jpg|C6H0009.jpg}} ====== | [[usemrp ipd multiple request packet support fm.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[naming conventions and dual approach to database operations.htm|{{btn_next_n.gif|Next page}}]] | | || [[addfield track fields in a structure .htm|AddField(track fields in a structure)]] [[addkey set the file s keys .htm|AddKey (set the file's keys)]] [[bindfields bind fields when file is opened .htm|BindFields (bind fields when file is opened)]] [[cancelautoinc undo primeautoinc .htm|CancelAutoInc (undo PrimeAutoInc)]] [[clearkey clear specified key components .htm|ClearKey (clear specified key components)]] [[close close the file .htm|Close (close the file)]] [[deleted return record status .htm|Deleted (return record status)]] [[deleterecord delete a record .htm|DeleteRecord (delete a record)]] [[destruct automatic destructor .htm|Destruct (automatic destructor)]] [[equalbuffer detect record buffer changes .htm|EqualBuffer (detect record buffer changes)]] [[fetch get a specific record by key value .htm|Fetch (get a specific record by key value)]] [[getcomponents return the number of key components .htm|GetComponents (return the number of key components)]] [[geteof return end of file status .htm|GetEOF (return end of file status)]] [[geterror return the current error id .htm|GetError (return the current error ID)]] [[getfield return a reference to a key component .htm|GetField (return a reference to a key component)]] [[getfieldname return a key component field name .htm|GetFieldName (return a key component field name)]] [[getfields get number of fields .htm|GetFields(get number of fields)]] [[getfieldpicture get field picture .htm|GetFieldPicture(get field picture)]] [[getfieldtype get field type .htm|GetFieldType(get field type)]] [[getname return the filename .htm|GetName (return the filename)]] [[init initialize the filemanager object .htm|Init (initialize the FileManager object)]] [[insert add a new record .htm|Insert (add a new record)]] [[keytoorder return order expression for a key .htm|KeyToOrder (return ORDER expression for a key)]] [[kill shutdown the filemanager object .htm|Kill (shutdown the FileManager object)]] [[next get next record in sequence .htm|Next (get next record in sequence)]] [[open open the file .htm|Open (open the file)]] [[position return the current record position .htm|Position (return the current record position)]] [[postdelete trigger delete action post processing .htm|PostDelete(trigger delete action post-processing)]] [[postinsert trigger insert action post processing .htm|PostInsert(trigger insert action post-processing)]] [[postupdate trigger update action post processing .htm|PostUpdate(trigger update action post-processing)]] [[predelete trigger delete action pre processing .htm|PreDelete(trigger delete action pre-processing)]] [[preinsert trigger insert action pre processing .htm|PreInsert(trigger insert action pre-processing)]] [[preupdate trigger update action pre processing .htm|PreUpdate(trigger update action pre-processing)]] [[previous get previous record in sequence .htm|Previous (get previous record in sequence)]] [[primeautoinc prepare an autoincremented record for adding .htm|PrimeAutoInc (prepare an autoincremented record for adding)]] [[primefields a virtual to prime fields .htm|PrimeFields (a virtual to prime fields)]] [[primerecord prepare a record for adding filemanager .htm|PrimeRecord (prepare a record for adding:FileManager)]] [[restorebuffer restore a previously saved record buffer .htm|RestoreBuffer (restore a previously saved record buffer)]] [[restorefile restore a previously saved file state .htm|RestoreFile (restore a previously saved file state)]] [[savebuffer save a copy of the record buffer .htm|SaveBuffer (save a copy of the record buffer)]] [[savefile save the current file state .htm|SaveFile (save the current file state)]] [[seterror save the specified error and underlying error state .htm|SetError (save the specified error and underlying error state)]] [[setkey set current key .htm|SetKey (set current key)]] [[setname set current filename .htm|SetName (set current filename)]] [[setopenmode set current file s open mode .htm|SetOpenMode (set file open mode)]] [[throw pass an error to the error handler for processing .htm|Throw (pass an error to the error handler for processing)]] [[throwmessage pass an error and text to the error handler .htm|ThrowMessage (pass an error and text to the error handler)]] [[tryfetch try to get a specific record by key value .htm|TryFetch (try to get a specific record by key value)]] [[tryinsert try to add a new record .htm|TryInsert (try to add a new record)]] [[trynext try to get next record in sequence .htm|TryNext (try to get next record in sequence)]] [[tryopen try to open the file .htm|TryOpen (try to open the file)]] [[tryprevious try to get previous record in sequence .htm|TryPrevious (try to get previous record in sequence)]] [[tryprimeautoinc try to prepare an autoincremented record for adding .htm|TryPrimeAutoInc (try to prepare an autoincremented record for adding)]] [[tryreget try to get a specific record by position .htm|TryReget (try to get a specific record by position)]] [[tryupdate try to change the current record .htm|TryUpdate (try to change the current record)]] [[tryvalidatefield validate field contents .htm|TryValidateField(validate field contents)]] [[update change the current record .htm|Update (change the current record)]] [[usefile use lazyopen file .htm|UseFile (use LazyOpen file)]] [[validatefield validate a field .htm|ValidateField (validate a field)]] [[validatefields validate a range of fields .htm|ValidateFields (validate a range of fields)]] [[validatefieldserver validate field contents .htm|ValidateFieldServer(validate field contents)]] [[validaterecord validate all fields .htm|ValidateRecord (validate all fields)]] **See Also:** [[naming conventions and dual approach to database operations.htm|Naming Conventions and Dual Approach to Database Operations]] [[filemanager functional organization expected use.htm|FileManager Functional Organization--Expected Use]]