IDAPI SDK Pascal Examples Documentation --------------------------------------- Contents -------- I. List of shipped files II. Prerequisites III. Using Pascal Examples I. List of shipped files ------------------------ aliases.pas Displays the aliases available in the current configuration file. batmove.pas Uses the DbiBatchMove function blobio.pas Uses BLOBs blobsmpl.pas A simple example of using BLOBs block.pas Uses blockmove to speed up table access bookmark.pas Saves the current record position using bookmarks config.pas Displays the information in the configuration file cr8dbtbl.pas Creates a dBASE table cr8pxtbl.pas Creates a Paradox table dbio.pas Manipulates databases drvcaps.pas Determines the capabilities of the available drivers errval.pas Gets the error value and displaying error information fieldmap.pas Changes the fields which are used in a table filter.pas Limits the records accessable from a table using filters format.pas Gets the date and time format from the configuration file idxdbase.pas Uses dBASE indexes idxexpr.pas Uses dBASE expression indexes idxpdox.pas Uses Paradox indexes initeng.pas Initializes IDAPI lnkcrsr.pas Limits the records of one table depending on the current record in another table lsql.pas A simple SQL example on a local table lsqljoin.pas An SQL join of a dBASE and a Paradox table lsqllive.pas Shows the use of a live answer table navigate.pas Navigates with IDAPI optparam.pas Uses optional paramaters when creating a table password.pas Usies Passwords with Paradox tables prdxsort.pas Sorts Paradox tables qbe.pas A simple Query by Example (QBE) example qbe2.pas A join of a dBASE and a Paradox table using QBE range.pas Limits the records returned from a table to an upper and lower range rdolock.pas Creates a read-only directory (Paradox only) reclock.pas Locks records recupdat.pas Inserts and modifies records refinteg.pas Creates referential integrity links search.pas Searches IDAPI tables secdesc.pas Uses auxilliary passords, also called security descriptors. (Paradox only) session.pas Uses multiple sessions with IDAPI softdel.pas Sets properties and use soft delete (dBASE only) sysinfo.pas Gets information about the IDAPI system tblinfo.pas Gets information about a table tbllist.pas Gets a list of the available tables tbllock.pas Uses table locking tblopen.pas Opens a table test.pas Basic framework to use for testing or creating new examples snipdata.pas Contains the global data used by Pascal Examples sniptool.pas Helper functions used by the examples II. Prerequisites ----------------- The following software must be installed to run Pascal Examples: -IDAPI Software Development Kit (SDK) -Microsoft Windows 3.1 or higher -Borland Pascal Windows Compiler version 7.0 or higher. III. Using Pascal Examples -------------------------- Each Pascal example is a stand-alone program which should be compiled using the Borland Pascal Windows Compiler version 7.0 or higher. Each example uses many different units, for example dbitypes.pas. When each example is compiled the "unit directories and object directories" compiler options should include the directory where the pascal units (i.e., dbitypes etc) exist, for example c:\bde\units. It might also be required to set the numeric processing option to use the 8087 numeric coprocessor as some examples require real-type calculations. When each stand-alone program is run, the initial output goes to the CRT. The initial output indicates which example is being run. After displaying the initial status messages on the CRT, the output starts going to the "snipit.out" text file. At the end of the program execution, the last status message appears on the CRT again indicating that the execution of the program has completed.