Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfmakeind()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfMakeInd()
Function to create index on a opened database
------------------------------------------------------------------------------
Syntax:

     dfMakeInd( <cExp>, <cName>, [<lAscend>], [<lUnique>],
                    [<cTag>], [<lDeleteFile>] ) --> NIL

Parameters:

     <cExp>     Index expression
     <cName>    Fisical name of the index
     <lAscend>  If .T. the index will be created ASCEND
     DEFAULT .T.
     <lUnique>  If .T. the index will be created UNIQUE
     DEFAULT .F.
     <cTag>     Tag name. DEFAULT the index name
     <lDeleteFile> If .T. the index will be deleted before the
     creation. DEFAULT .T.

Returns:

     NIL

Description:

     This function is called by all the library functiones that create
     index on the databases

Example:

     USE customer NEW               // Open the database
     dfMakeInd( "codcus", "index" ) // Index creations

See also:

     ddIndex()

See Also: ddIndex()

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