
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>cfts_add( <cftshandle>, <expc> )</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Cfts_Add( <CFTShandle>, <expC> )
Purpose
This UDF is used to add a new record to a CFTS index. An integer
representing the record number is returned.
Parameters
<CFTShandle> is an integer that references a CFTS index. <expC> is
the name of a function that returns as a concatenated string the
fields from the .DBF(s) that are to be indexed.
Returns
Nothing. If desired, Cfts_Add() can be modified to pass on the
integer (beginning with 1) returned by CftsAdd() that corresponds to a
record number in the primary .DBF file. This number can be useful in
testing the validity of adds. Errors are trapped by Cfts_Err().
Comments
Cfts_Add(), in CFTS87.PRG, macro-izes the function name passed as
the second parameter to produce the string to be indexed. See the
demonstration program BIB.PRG, or SHOW1.PRG for examples of how to use
this Clipper feature. The CFTS5.PRG uses the code block feature of
CA-Clipper 5.xx to perform this same task.
See Also: CFTS87.PRG CFTS5.PRG
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson