<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods (Alphabetical) |
See Also: TApolloTable Methods By Category
Since TApolloTable is a direct TDataSet descendant, by default, it contains all of the standard TDataSet properties and methods. However, you typically would not use a TDataSet object itself, and may be more familiar with its descendants, TTable and TQuery. Both of these objects add additional properties and methods, many specific to the BDE and the functionality found therein.
Thus, since TApolloTable inherits directly from TDataSet and not from TTable, it is important that you do not assume that a property or method found on TTable will also appear in the TApolloTable class. The reason TApolloTable does not inherit from TTable is that, if it did, your application would require the BDE to be distributed with it, in addition to the Apollo .DLLs used by TApolloTable itself.
Besides the standard TDataSet methods, the following TTable methods (at a minimum) are currently emulated under TApolloTable:
AddIndex
ApplyRange
CancelRange
CloseIndexFile
CreateTable
DeleteTable
DeleteIndex
EditKey
EditRangeEnd
EditRangeStart
EmptyTable
FindKey
FindNearest
GetIndexNames
GotoCurrent
GotoKey
GotoNearest
OpenIndexFile
SetKey
SetRange
SetRangeEnd
SetRangeStart
The following is a list of the additional, altered, or enhanced methods found in TApolloTable.
Standard TDataSet methods where TApolloTable may not alter or enhance the usual behavior are not documented here, and the documentation for those can be found in the standard Delphi or C++Builder help files under the TDataSet reference.
AddIndex |
|
Retrieves the table alias name assigned to the current work area when the table was opened. |
|
Flags the current record for deletion. Same as old TApollo.Delete. For use primarily when SpeedMode is True. |
|
Extracts the number of fields in the current table. |
|
Fills a defined and initialized buffer or record structure with the contents of the current record buffer. |
|
Initializes or continues a record location command. Same as old TApollo.Locate. |
|
Places a new, empty record buffer in Edit mode. |
|
Places a new, empty record buffer in Edit mode. |
|
Appends data from a source table to the current table. |
|
Retrieves the date on which the table was last opened for read/write access. |
|
Extracts the DOS path and file name attached to the current work area. |
|
Writes a BLOB stored in a memo file directly to a new disk file. |
|
Closes all open index files attached to the current table object. |
|
Writes the contents of the record buffer to the current file position. |
|
Copies the current table to another file. |
|
Copy the current table to an ASCII text file. |
|
Creates a table that has the same structure as the current table. |
|
Creates a table that holds the record structure of the currently selected file. |
|
Extracts the number of records in the table, respecting any active filter. |
|
Creates a table in the work area set up via CreateNew and according to the field specifications defined with CreateField. |
|
Defines a field to be included in a new table. |
|
Creates a new file from the specified structure extended file. |
|
Initializes a new work area. |
|
Decrypts a table that has been encrypted at the file level. |
|
Encrypts all records in a table. |
|
Extracts the current filter conditional expression. |
|
Decrypts an encrypted string using the specified password. |
|
See the Delphi/C++Builder VCL help for TDataSet.Delete. To avoid a naming conflict, the old TApollo.Delete method has been renamed to ApolloDelete in this release, and is for use mainly when SpeedMode is True. |
|
Converts a key string into a 2s complement representation. |
|
Determines whether or not the named field is empty. |
|
Encrypts a string using the specified password. |
|
Evaluates a logical xBase expression and retrieves a True or False value depending upon the outcome. |
|
Evaluates an xBase expression that returns a numeric value and convert the result to a double precision number. |
|
Evaluates an xBase expression and retrieves the result as a string. |
|
Tests the validity of an xBase expression. |
|
Extracts the number of decimals defined for a numeric field. |
|
Extracts the name of the nth field. |
|
Gets number of named field in field array (relative to 1). |
|
Gets offset of named field in record buffer (relative to 1). |
|
Reports the type of the named field. |
|
Extracts the width of the named field. |
|
Assigns an alias name to a field name in the table to be used in an upcoming FilterDlg call. |
|
Displays a modal dialog box that allows the user to create a custom filter expression visually. |
|
Locks the current table. |
|
Queries the result of the last index seek made on the current work area. |
|
Extracts a binary value from a memo field of a table. |
|
Retrieves a BLOB that was stored in a memo field. |
|
Retrieves the length of a BLOB that was stored in a memo field. |
|
Extracts the first character of a field. |
|
Extracts the contents of a date field as a TDateTime type. |
|
Extracts the contents of a date field as a Julian number. |
|
Extracts the contents of a date field as a string formatted according to the date mask specified by SetDateFormat and the setting of SetCentury. |
|
Extracts the contents of a numeric field and convert to a double value. |
|
Extracts the contents of a numeric field as a signed integer value. |
|
Determines whether a logical field contains a True or False value. |
|
Extracts the contents of a numeric field as a signed long integer value. |
|
Extracts the contents of a memo field as a PChar and optionally format the memo with hard carriage returns and line feeds for printing. |
|
Get the setting of a bit that maps to a record number in an existing bitmap. |
|
GetRecord |
See the Delphi/C++Builder VCL help for TDataSet.GetRecord. To avoid this naming conflict, the old TApollo.GetRecord method has been renamed to ApolloGetRecord in this release. |
Gets the original value of a scoping string passed to SetScope. |
|
Extracts the contents of any field (less than 256 bytes wide) as a string value. |
|
Extracts the contents of a character field as a PChar value. |
|
Returns the table type by inspecting the DBF header. |
|
Extracts the contents of any field as a string and trim trailing spaces. |
|
Goes to a physical record that occupies the nth position in the table. |
|
Moves the record pointer to the last record in the file. |
|
Go to the first record in the file. |
|
Creates a new single-order (.NTX or .IDX) index file and make it the active order. |
|
Closes the current index file. |
|
Extracts the conditional expression from the current index. |
|
Extracts the DOS file name and path of the defined index. |
|
Dynamically toggles the Ascending/Descending status of the active index order. |
|
Extracts the contents of the xBase key construction expression used by the current index as a string. |
|
Extracts the name of the first field in an index key expression. |
|
IndexName |
See the Delphi/C++Builder VCL help for TDataSet.IndexName. To avoid this naming conflict, the old TApollo.IndexName method has been renamed to IndexFileName in this release. |
Opens an index file. |
|
Gets the current order number identifying the order work area. |
|
Creates a new tag in the compound .CDX or .NSX index. |
|
Gets the current index or Tag type. |
|
Determines whether the current record or file is encrypted. |
|
Adds a key to the specified index order. |
|
Extracts the key data from the current index key in the current index and returns it as a string. |
|
Removes a key from the specified index order. |
|
Searches the dataset for a specified record and makes that record the current record. |
|
Determines the lock status of a record or a file. |
|
Deallocate memory allocated by GetMemo. |
|
Retrieves the relative position of the key in the current active order. |
|
Sets the relative position of the key in the current active order. |
|
Retrieves the logical record number according to the position of the key in the current active order. |
|
Removes all records marked for deletion from a table. |
|
Commits data on insert or edit. Same as TTable Post |
|
Stores a binary value to a memo field in the table. |
|
Stores a BLOB in a memo field. |
|
Replaces an entire record with the contents of a defined record structure or character buffer. |
|
Sets an ultra high speed filter. |
|
Extracts the number of records contained in the current query subset. |
|
Tests if a given xBase expression will result in an optimized query set or not. |
|
Recalls a record that has been logically deleted. |
|
Extracts the size of a record in the current table in number of bytes. |
|
Rebuilds all active orders attached to the current work area. |
|
Replaces the named field's contents in the record buffer with the given data value. |
|
Locks the defined record. |
|
Activate an existing filter bitmap and either make it the filter bitmap of record or combine it with the current active bitmap. |
|
Copies the existing filter bitmap to the linked list of RYOFilter bitmaps. |
|
Creates an empty bitmap to be used in subsequent RYOFilter functions. |
|
Destroys a bitmap created by RYOFilterCreate or RYOFilterCopy. |
|
Saves the defined bitmap in a disk file. |
|
Sets or resets the active bitmap to one saved to disk by RYOFilterSave. |
|
Sets or resets a bit corresponding to the specified table record. |
|
Adds a key to an existing sxChar RYO index tag that points to the current table record. |
|
Drops a key from an existing sxChar RYO index tag that points to the current table record. |
|
Searches the current order for a supplied key. |
|
Searches the current order for a supplied key. The key may contain binary zeroes. |
|
Defines a subset of the current table according to the condition passed as a filter. |
|
Defines a window that time consuming operations may communicate with in order to inform the user as to the progress of the operation. |
|
Selects an existing order as the controlling index order. |
|
Defines an encoding key to be used in encrypting and decrypting data records in the current table. |
|
Sets a bit (on or off) in a query bitmap for the specified record number. |
|
Defines a relationship between the current table and another table. |
|
Sets formal scope based on current index order expression. |
|
Automatically translates record buffers stored in the OEM character set to Windows ANSI. |
|
SetTurboRead is used to speed up TApolloTable record i/o methods (specifically Skip and Seek). |
|
Skips forwards or backwards a specified number of records. |
|
Sets or Retrieves Apollo system information. |
|
Retrieves the index select area of the named tag within a compound index. |
|
Retrieves the name of the tag associated with the passed tag area number. |
|
Removes record and/or file locks from the current work area. |
|
Remove all records from the table. |