Difference between revisions of "COPY TAG"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=COPY TAG=
 
 
 
 
==Class==
 
==Class==
 
Indexing
 
Indexing

Revision as of 09:31, 28 April 2009

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