Difference between revisions of "COPY TAG"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=COPY TAG=
 
 
 
==Class==
 
Indexing
 
 
 
 
==Purpose==
 
==Purpose==
 
Create a single index file from an index tag
 
Create a single index file from an index tag
Line 15: Line 8:
  
 
==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]]
  
  
Line 27: Line 20:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
*Open up dbf with a dbx file
+
//Open up dbf with a dbx file
 
use customer
 
use customer
 
copy tag zip to zip.ndx
 
copy tag zip to zip.ndx
Line 34: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 15:27, 10 November 2009

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 Server, Recital