Difference between revisions of "COPY TAG"

From Recital Documentation Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
[[COPY INDEXES]], [[COPY STRUCTURE]], [[CREATE STRUCTURE]], [[DELETE TAG]], [[INDEX]], [[MDX()]], [[MODIFY STRUCTURE]], [[SET INDEX]], [[TAG()]], [[TAGCOUNT()]], [[TAGNO()]], [[USE]]
+
[[COPY INDEXES]], [[COPY STRUCTURE]], [[CREATE]], [[DELETE TAG]], [[INDEX]], [[MDX()]], [[MODIFY STRUCTURE]], [[SET INDEX]], [[TAG()]], [[TAGCOUNT()]], [[TAGNO()]], [[USE]]
  
  

Revision as of 16:39, 18 March 2009

COPY TAG

Class

Indexing


Purpose

Create a single index file from an index tag


Syntax

COPY TAG <tagname> [OF <.dbx filename>] TO <.ndx filename>


See Also

COPY INDEXES, COPY STRUCTURE, CREATE, DELETE TAG, INDEX, MDX(), MODIFY STRUCTURE, SET INDEX, TAG(), TAGCOUNT(), TAGNO(), USE


Description

The COPY TAG command creates a single index (.ndx) file from a tag in a multiple index (.dbx) file, copying the specified <tagname> to a single, stand-alone index file specified with <.ndx filename>. If no file extension is specified, then '.ndx' is used.

OF <.dbx filename>

If the tag does not exist in the currently open multiple index file the OF <.dbx filename> clause must be used to specify the <tagname> source.


Example

//Open up dbf with a dbx file
use customer
copy tag zip to zip.ndx


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer