<< Click to Display Table of Contents >> Navigation: Apollo API Listing > Function Listing |
Table and Structure Creation
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. |
|
Creates a table in the work area set up via sx_CreateNew and according to the field specifications defined with sx_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. |
Table Data Updates and Modifications
Places a new, empty record buffer in Edit mode. |
|
Places a new, empty record buffer in Edit mode. |
|
Places a new, empty record buffer in Edit mode, and returns a result code. |
|
Places a new, empty record buffer in Edit mode, and returns a result code. |
|
Appends data from a source table to the current table. |
|
Writes the contents of the record buffer to the current file position. |
|
Decrypts a table that has been encrypted at the file level. |
|
Encrypts all records in a table. |
|
Flags the current record for deletion. |
|
Removes all records marked for deletion from a table. |
|
Stores a BLOB in a memo field. |
|
Replaces an entire record with the contents of a defined record structure or character buffer. |
|
Replace the contents of a field with a variant value. |
|
Recalls a record that has been logically deleted. |
|
Replaces the named field's contents in the record buffer with the given data value. |
|
Remove all records from the table. |
Data Retrieval
Writes a BLOB stored in a memo file directly to a new disk file. |
|
Sends a bitmap that was stored in a memo file to a defined window using a Windows Clipboard function. |
|
Retrieves 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 Julian number. |
|
Extracts the contents of a date field as a string formatted according to the date mask specified by sx_SetDateFormat and the setting of sx_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. |
|
Fills a defined and initialized buffer or record structure with the contents of the current record buffer. |
|
Extracts the contents of any field (less than 256 bytes wide) as a string value. |
|
Extracts the contents of any field as a string and trim trailing spaces. |
|
Extracts the contents of any field type as a Visual Basic variant type. |
General Table and Workarea Information
Retrieves the table alias name assigned to the current work area when the table was opened. |
|
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. |
|
Tests if a skip has been attempted that would place the record pointer before the first record in the file. |
|
Closes the table for the current workarea. |
|
Extracts the current filter conditional expression. |
|
Determines whether or not the current record has been logically deleted. |
|
Tests if a record movement function has placed the record pointer beyond the last record in the file. |
|
Extracts the number of fields in the current table. |
|
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. |
|
Retrieves the length of a BLOB that was stored in a memo field. |
|
Gets the original value of a scoping string passed to sx_SetScope. |
|
Determines whether the current record or file is encrypted. |
|
Extracts the physical number of records in the current table. |
|
Extracts the current physical record number. |
|
Extracts the size of a record in the current table in number of bytes. |
|
Selects an existing work area and make it the current work area. |
|
Defines an encoding key to be used in encrypting and decrypting data records in the current table. |
|
sx_SetTurboRead is used to speed up record i/o functions (specifically sx_Skip and sx_Seek). |
|
Opens a table in a new workarea. |
|
Retrieves the table numeric work area identifier associated with a given alias name. |
Table Navigation
Goes to a physical record that occupies the nth position in the table. |
|
Moves the record pointer to the last record in the file. |
|
Moves to the first record in the file. |
|
Defines a relationship between the current table and another table. |
|
Skips forwards or backwards a specified number of records. |
Index Creation and Manipulation
Closes all open index files attached to the current work area. |
|
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. |
|
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. |
|
Extracts the DOS file name and path of the defined index. |
|
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. |
|
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. |
|
Retrieves the logical record number according to the position of the key in the current active order. |
|
Rebuilds all active orders attached to the current work area. |
|
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. |
|
Selects an existing order as the controlling index order. |
|
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. |
Querying Data and Expressions
Extracts the number of records in the table, respecting any active filter. |
|
Determines whether or not the named field is empty. |
|
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. |
|
Assigns an alias name to a field name in the table to be used in an upcoming sx_FilterDlg call. |
|
Displays a modal dialog box that allows the user to create a custom filter expression visually. |
|
Queries the result of the last index seek made on the current work area. |
|
Initializes or continues a record location command. |
|
Get the setting of a bit that maps to a record number in an existing bitmap. |
|
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. |
|
Activates 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 RYO Filter bitmaps. |
|
Creates an empty bitmap to be used in subsequent RYO Filter functions. |
|
Destroys a bitmap created by sx_RYOFilterCreate or sx_RYOFilterCopy |
|
Gets a bit corresponding to the table record. |
|
Saves the defined bitmap in a disk file. |
|
Sets or resets the active bitmap to one saved to disk by sx_RYOFilterSave |
|
Sets or resets a bit corresponding to the specified 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. |
|
Sets a bit (on or off) in a query bitmap for the specified record number. |
|
Sets formal scope based on current index order expression. |
Record and File Locking
Retrieve a lock array of record numbers and place it in a pre-dimensioned array of long integers. |
|
Locks the current table. |
|
Determines the lock status of a record or a file. |
|
Locks the defined record. |
|
Removes record and/or file locks from the current work area. |
Conversion
Converts a key string into a 2s complement representation. |
|
Converts a reference to a record structure into a Visual Basic string. |
|
Automatically translates record buffers stored in the OEM character set to Windows ANSI. |
Miscellaneous
Decrypts an encrypted string using the specified password. |
|
Encrypts a string using the specified password. |
|
Defines a window that time consuming operations may communicate with in order to inform the user as to the progress of the operation. |
|
Sets or Retrieves SDE system information. |
|
Extracts the name and version number currently in use. |