Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Paradox Engine 3.0 for C - <b>syntax:</b> int pxsrchkey(tablehandle tblhandle, recordhandle rechandle, http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: int PXSrchKey(TABLEHANDLE tblHandle, RECORDHANDLE recHandle,
                      int nFlds, int mode)

Args: tblHandle - table (file) handle
      recHandle - record buffer handle
      nFlds     - number of key fields to search on
      mode      - determines the scope of the search:
                  SEARCHFIRST - searches from beginning of table
                  SEARCHNEXT  - searches from current record
                  CLOSESTRECORD - (indexed table only) searches from
                                  beginning of table,  but does not
                                  require an exact match.

Returns: PXSUCCESS (0) or error number

Synopsis: Similar to PXSrchFld except that it searches on index fields.
   One major difference is the ability to search on a partial key. For
   instance, if an index consists of 3 fields such as Last_Name,
   First_Name, MI, specifying nFlds as 1 would search only on the last
   name. Likewise, setting nFlds to 2 would search on last name, and first
   name.

   Affects public blobs.

See Also: Example PXSrchFld

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson