Difference between revisions of "CDX()"
Yvonne.milne (Talk | contribs) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the active multiple index filename | Function to return the active multiple index filename | ||
− | |||
==Syntax== | ==Syntax== | ||
CDX([<expN>[,<alias>]]) | CDX([<expN>[,<alias>]]) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[FOR()]], [[KEY()]], [[MDX()]], [[NDX()]], [[ORDER()]], [[SET() | + | [[FOR()]], [[KEY()]], [[MDX()]], [[NDX()]], [[ORDER()]], [[SET()]], [[SET FILECASE]], [[SET FULLPATH]], [[TAG()]], [[TAGCOUNT()]], [[TAGNO()]] |
− | + | ||
==Description== | ==Description== | ||
The CDX() function returns the name of the currently open multiple index file. Used without any parameters, the CDX() function will return the name of the multiple index file in the current workarea. If there is no .dbx file in the workarea, the CDX() function will return a null string. The optional numeric expression, <expN>, may be used to return the .dbx file name for a specific tag number. This parameter is needed if more than one .dbx file is open in a workarea. You may optionally specify an alias name to use the CDX() function in other workareas. The <alias> may be a workarea number or letter | The CDX() function returns the name of the currently open multiple index file. Used without any parameters, the CDX() function will return the name of the multiple index file in the current workarea. If there is no .dbx file in the workarea, the CDX() function will return a null string. The optional numeric expression, <expN>, may be used to return the .dbx file name for a specific tag number. This parameter is needed if more than one .dbx file is open in a workarea. You may optionally specify an alias name to use the CDX() function in other workareas. The <alias> may be a workarea number or letter | ||
or the table alias name. | or the table alias name. | ||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
Line 24: | Line 18: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Cursor Functions]] |
− | [[Category: | + | [[Category:Search Functions]] |
Latest revision as of 11:07, 4 February 2013
Contents
Purpose
Function to return the active multiple index filename
Syntax
CDX([<expN>[,<alias>]])
See Also
FOR(), KEY(), MDX(), NDX(), ORDER(), SET(), SET FILECASE, SET FULLPATH, TAG(), TAGCOUNT(), TAGNO()
Description
The CDX() function returns the name of the currently open multiple index file. Used without any parameters, the CDX() function will return the name of the multiple index file in the current workarea. If there is no .dbx file in the workarea, the CDX() function will return a null string. The optional numeric expression, <expN>, may be used to return the .dbx file name for a specific tag number. This parameter is needed if more than one .dbx file is open in a workarea. You may optionally specify an alias name to use the CDX() function in other workareas. The <alias> may be a workarea number or letter or the table alias name.
Example
?cdx(1, account) invoice.dbx