Difference between revisions of "COPY TAG"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Create a single index file from an index tag
 
Create a single index file from an index tag
 
  
 
==Syntax==
 
==Syntax==
 
COPY TAG <tagname> [OF <.dbx filename>] TO <.ndx filename>
 
COPY TAG <tagname> [OF <.dbx filename>] TO <.ndx filename>
 
  
 
==See Also==
 
==See Also==
[[COPY INDEXES]], [[COPY STRUCTURE]], [[CREATE]], [[DELETE TAG]], [[INDEX]], [[MDX()]], [[MODIFY STRUCTURE]], [[SET INDEX]], [[TAG()]], [[TAGCOUNT()]], [[TAGNO()]], [[USE]]
+
[[COPY INDEXES]], [[COPY STRUCTURE]], [[DELETE TAG]], [[INDEX]], [[MDX()]], [[SET INDEX]], [[TAG()]], [[TAGCOUNT()]], [[TAGNO()]], [[USE]]
 
+
  
 
==Description==
 
==Description==
Line 16: Line 13:
 
====OF <.dbx filename>====
 
====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.
 
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==
 
==Example==
Line 25: Line 21:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 10:40, 9 February 2012

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