COPY TAG

From Lianjapedia
Jump to: navigation, search

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, DELETE TAG, INDEX, MDX(), 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