Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTTable.Clone

Syntax

void Clone(CTTable Target, String TargetName)

Parameters

  • Target - The new table handle
  • TargetName [in] - The new table name (without file extension)

Description

Creates a new table with the attributes from an existing source table. This does NOT create a duplicate table -- records are not copied.

Note: This function is only for a CTSESSION_CTREE session or for cloning tables from/into different databases.

Return

None. Throws a CTException on error. Typical CreateTable() exceptions are possible.

See also

CTTable::CreateTable()

TOCIndex