Difference between revisions of "DBF INDEXORDER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
int DBF_INDEXORDER() | int DBF_INDEXORDER() | ||
Line 28: | Line 28: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_dbf_indexorder() | lianjaapi_dbf_indexorder() |
Latest revision as of 06:56, 11 April 2013
PURPOSE
Return current master index number
SYNONYM
api_dbf_indexorder()
SYNOPSIS
#include "lianja_api.h" int DBF_INDEXORDER() <input parameters> none <output parameters> none
DESCRIPTION
The DBF_INDEXORDER() function will return the master index from the currently selected table as an integer, if no index is active then -1 will be returned
A value from 1 to 20 will can be returned depending on the current master index. If the index is set to natural order, a value of 0 will be returned.
EXAMPLE
The following example returns the master index for the current table.
#include "lianja_api.h" lianjaapi_dbf_indexorder() { int master; master = DBF_INDEXORDER(); _retni( master ); }
SEE ALSO
COMMAND(), DBF_ALIAS(), DBF_DBF(), DBF_DELETED(), DBF_FETCH(), DBF_FILTER(), DBF_FMT(), DBF_INDEXKEY(), DBF_NDX(), DBF_SEEK(), DBF_SELECT(), DBF_SKIP(), FIELD_COUNT(), FIELD_LOOKUP()